Skip to content

Commit

Permalink
fix compile error
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@11383 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Aug 14, 2009
1 parent 59f3c8b commit 7085cf5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/core/qgscoordinatereferencesystem.cpp
Expand Up @@ -881,7 +881,7 @@ bool QgsCoordinateReferenceSystem::operator==( const QgsCoordinateReferenceSyste

// OSRIsSame is not relaibel when it comes to comparing +towgs84 parameters
// Use string compare on WKT instead.
if ( ( OSRExportToWkt( mCRS, &thisStr ) == OGRERR_NONE ) )
if (( OSRExportToWkt( mCRS, &thisStr ) == OGRERR_NONE ) )
{
if ( OSRExportToWkt( theSrs.mCRS, &otherStr ) == OGRERR_NONE )
{
Expand All @@ -890,13 +890,13 @@ bool QgsCoordinateReferenceSystem::operator==( const QgsCoordinateReferenceSyste
if ( !strcmp( thisStr, otherStr ) )
{
QgsDebugMsg( QString( "MATCHED!" ) + otherStr );
OGRFree( *thisStr );
OGRFree( *otherStr );
CPLFree( thisStr );
CPLFree( otherStr );
return true;
}
OGRFree( *otherStr );
CPLFree( otherStr );
}
OGRFree( *thisStr );
CPLFree( thisStr );
}
return false;
}
Expand Down

0 comments on commit 7085cf5

Please sign in to comment.