Skip to content
Permalink
Browse files

Fix debug messages

  • Loading branch information
wonder-sk committed Feb 19, 2014
1 parent 5d4cf30 commit ab929a855c1fa6f40a9b5d455100eadbd1335686
Showing with 4 additions and 8 deletions.
  1. +4 −8 src/core/qgscoordinatetransform.cpp
@@ -329,14 +329,10 @@ QgsRectangle QgsCoordinateTransform::transform( const QgsRectangle theRect, Tran

#ifdef COORDINATE_TRANSFORM_VERBOSE
QgsDebugMsg( "Rect projection..." );
QgsLogger::debug( "Xmin : ", theRect.xMinimum(), 1, __FILE__, __FUNCTION__, __LINE__ );
QgsLogger::debug( "-->", x1, 1, __FILE__, __FUNCTION__, __LINE__ );
QgsLogger::debug( "Ymin : ", theRect.yMinimum(), 1, __FILE__, __FUNCTION__, __LINE__ );
QgsLogger::debug( "-->", y1, 1, __FILE__, __FUNCTION__, __LINE__ );
QgsLogger::debug( "Xmax : ", theRect.xMaximum(), 1, __FILE__, __FUNCTION__, __LINE__ );
QgsLogger::debug( "-->", x2, 1, __FILE__, __FUNCTION__, __LINE__ );
QgsLogger::debug( "Ymax : ", theRect.yMaximum(), 1, __FILE__, __FUNCTION__, __LINE__ );
QgsLogger::debug( "-->", y2, 1, __FILE__, __FUNCTION__, __LINE__ );
QgsDebugMsg( QString( "Xmin : %1 --> %2" ).arg( theRect.xMinimum() ).arg( x1 ) );
QgsDebugMsg( QString( "Ymin : %1 --> %2" ).arg( theRect.yMinimum() ).arg( y1 ) );
QgsDebugMsg( QString( "Xmax : %1 --> %2" ).arg( theRect.xMaximum() ).arg( x2 ) );
QgsDebugMsg( QString( "Ymax : %1 --> %2" ).arg( theRect.yMaximum() ).arg( y2 ) );
#endif
return QgsRectangle( x1, y1, x2, y2 );
}

0 comments on commit ab929a8

Please sign in to comment.
You can’t perform that action at this time.