Skip to content

Commit ab929a8

Browse files
committedFeb 19, 2014
Fix debug messages
1 parent 5d4cf30 commit ab929a8

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed
 

‎src/core/qgscoordinatetransform.cpp

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -329,14 +329,10 @@ QgsRectangle QgsCoordinateTransform::transform( const QgsRectangle theRect, Tran
329329

330330
#ifdef COORDINATE_TRANSFORM_VERBOSE
331331
QgsDebugMsg( "Rect projection..." );
332-
QgsLogger::debug( "Xmin : ", theRect.xMinimum(), 1, __FILE__, __FUNCTION__, __LINE__ );
333-
QgsLogger::debug( "-->", x1, 1, __FILE__, __FUNCTION__, __LINE__ );
334-
QgsLogger::debug( "Ymin : ", theRect.yMinimum(), 1, __FILE__, __FUNCTION__, __LINE__ );
335-
QgsLogger::debug( "-->", y1, 1, __FILE__, __FUNCTION__, __LINE__ );
336-
QgsLogger::debug( "Xmax : ", theRect.xMaximum(), 1, __FILE__, __FUNCTION__, __LINE__ );
337-
QgsLogger::debug( "-->", x2, 1, __FILE__, __FUNCTION__, __LINE__ );
338-
QgsLogger::debug( "Ymax : ", theRect.yMaximum(), 1, __FILE__, __FUNCTION__, __LINE__ );
339-
QgsLogger::debug( "-->", y2, 1, __FILE__, __FUNCTION__, __LINE__ );
332+
QgsDebugMsg( QString( "Xmin : %1 --> %2" ).arg( theRect.xMinimum() ).arg( x1 ) );
333+
QgsDebugMsg( QString( "Ymin : %1 --> %2" ).arg( theRect.yMinimum() ).arg( y1 ) );
334+
QgsDebugMsg( QString( "Xmax : %1 --> %2" ).arg( theRect.xMaximum() ).arg( x2 ) );
335+
QgsDebugMsg( QString( "Ymax : %1 --> %2" ).arg( theRect.yMaximum() ).arg( y2 ) );
340336
#endif
341337
return QgsRectangle( x1, y1, x2, y2 );
342338
}

0 commit comments

Comments
 (0)
Please sign in to comment.