Skip to content
Permalink
Browse files

fix compile error

git-svn-id: http://svn.osgeo.org/qgis/trunk@11383 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Aug 14, 2009
1 parent 59f3c8b commit 7085cf57c0764be1a70eee7c6284a5327ab37141
Showing with 5 additions and 5 deletions.
  1. +5 −5 src/core/qgscoordinatereferencesystem.cpp
@@ -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 )
{
@@ -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;
}

0 comments on commit 7085cf5

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