Skip to content

Commit

Permalink
Remove debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed Oct 31, 2013
1 parent 64c0bd4 commit 08092cd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
4 changes: 0 additions & 4 deletions src/core/qgscoordinatetransform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
{
Expand All @@ -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 )
Expand Down
2 changes: 0 additions & 2 deletions src/gui/qgsmapcanvas.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down

0 comments on commit 08092cd

Please sign in to comment.