Skip to content

Commit 6b84471

Browse files

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed
 

‎src/gui/qgscoordinatetransform.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ QgsPoint QgsCoordinateTransform::transform(const QgsPoint thePoint,TransformDire
200200
catch(QgsCsException &cse)
201201
{
202202
// rethrow the exception
203-
QgsLogger::warning("Throwing exception " + QString(__FILE__) + QString(__LINE__));
203+
QgsLogger::warning("Throwing exception " + QString(__FILE__) + QString::number(__LINE__));
204204
throw cse;
205205
}
206206

@@ -220,7 +220,7 @@ QgsPoint QgsCoordinateTransform::transform(const double theX, const double theY=
220220
catch(QgsCsException &cse)
221221
{
222222
// rethrow the exception
223-
QgsLogger::warning("Throwing exception " + QString(__FILE__) + QString(__LINE__));
223+
QgsLogger::warning("Throwing exception " + QString(__FILE__) + QString::number(__LINE__));
224224
throw cse;
225225
}
226226
}
@@ -246,7 +246,7 @@ QgsRect QgsCoordinateTransform::transform(const QgsRect theRect,TransformDirecti
246246
catch(QgsCsException &cse)
247247
{
248248
// rethrow the exception
249-
QgsLogger::warning("Throwing exception " + QString(__FILE__) + QString(__LINE__));
249+
QgsLogger::warning("Throwing exception " + QString(__FILE__) + QString::number(__LINE__));
250250
throw cse;
251251
}
252252

@@ -280,7 +280,7 @@ void QgsCoordinateTransform::transformInPlace(double& x, double& y, double& z,
280280
catch(QgsCsException &cse)
281281
{
282282
// rethrow the exception
283-
QgsLogger::warning("Throwing exception " + QString(__FILE__) + QString(__LINE__));
283+
QgsLogger::warning("Throwing exception " + QString(__FILE__) + QString::number(__LINE__));
284284
throw cse;
285285
}
286286
}
@@ -306,7 +306,7 @@ void QgsCoordinateTransform::transformInPlace(std::vector<double>& x,
306306
catch(QgsCsException &cse)
307307
{
308308
// rethrow the exception
309-
QgsLogger::warning("Throwing exception " + QString(__FILE__) + QString(__LINE__));
309+
QgsLogger::warning("Throwing exception " + QString(__FILE__) + QString::number(__LINE__));
310310
throw cse;
311311
}
312312
}
@@ -369,7 +369,7 @@ QgsRect QgsCoordinateTransform::transformBoundingBox(const QgsRect rect, Transfo
369369
catch(QgsCsException &cse)
370370
{
371371
// rethrow the exception
372-
QgsLogger::warning("Throwing exception " + QString(__FILE__) + QString(__LINE__));
372+
QgsLogger::warning("Throwing exception " + QString(__FILE__) + QString::number(__LINE__));
373373
throw cse;
374374
}
375375

@@ -475,7 +475,7 @@ void QgsCoordinateTransform::transformCoords( const int& numPoints, double *x, d
475475
QgsDebugMsg("Projection failed emitting invalid transform signal: " + QString(msg.toLocal8Bit().data()));
476476
#endif
477477
emit invalidTransformInput();
478-
QgsLogger::warning("Throwing exception " + QString(__FILE__) + QString(__LINE__));
478+
QgsLogger::warning("Throwing exception " + QString(__FILE__) + QString::number(__LINE__));
479479
throw QgsCsException(msg);
480480
}
481481
// if the result is lat/long, convert the results from radians back

0 commit comments

Comments
 (0)
Please sign in to comment.