Skip to content
Permalink
Browse files

fix compile error

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@11383 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Aug 14, 2009
1 parent 4ab570e commit 10379bcad5264af75f0faa410dc72b596ed16858
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 10379bc

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