Skip to content
Permalink
Browse files

Remove debug code

  • Loading branch information
mhugent committed Oct 31, 2013
1 parent 64c0bd4 commit 08092cdaa66ee4b5ce35da9815526e92b81c3214
Showing with 0 additions and 6 deletions.
  1. +0 −4 src/core/qgscoordinatetransform.cpp
  2. +0 −2 src/gui/qgsmapcanvas.cpp
@@ -838,7 +838,6 @@ QString QgsCoordinateTransform::stripDatumTransform( const QString& proj4 )
void QgsCoordinateTransform::searchDatumTransform( const QString& sql, QList< int >& transforms )
{
sqlite3* db;
QgsMessageLog::logMessage( "QgsCoordinateTransform::searchDatumTransform" );
int openResult = sqlite3_open( QgsApplication::srsDbFilePath().toUtf8().constData(), &db );
if ( openResult != SQLITE_OK )
{
@@ -860,9 +859,6 @@ void QgsCoordinateTransform::searchDatumTransform( const QString& sql, QList< in
}
sqlite3_finalize( stmt );
sqlite3_close( db );
QgsMessageLog::logMessage( QgsApplication::srsDbFilePath() );
QgsMessageLog::logMessage( QString( "Found %1 datum transforms" ).arg( transforms.size() ) );
QgsMessageLog::logMessage( sql );
}

QString QgsCoordinateTransform::datumTransformString( int datumTransform )
@@ -1555,8 +1555,6 @@ void QgsMapCanvas::getDatumTransformInfo( QgsMapLayer* ml, const QString& srcAut
return;
}

QgsMessageLog::logMessage( "QgsMapCanvas::getDatumTransformInfo" );

//create two crs
const QgsCoordinateReferenceSystem& srcCRS = QgsCRSCache::instance()->crsByAuthId( srcAuthId );
const QgsCoordinateReferenceSystem& destCRS = QgsCRSCache::instance()->crsByAuthId( destAuthId );

0 comments on commit 08092cd

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