// Split land cover(s) inside edited land cover map
if ( myOperationId == SplitLandCoverId )
{
- bool aLandCoverSplitted = false;
+ bool aLandCoverSplit = false;
if ( !aPolyline.IsNull() )
- aLandCoverSplitted = aLandCoverMapObj->Split( aPolyline );
+ aLandCoverSplit = aLandCoverMapObj->Split( aPolyline );
else if ( !aFace.IsNull() )
{
// Get the complete boundary of the object face as the splitting polyline
continue;
bool aSplitResult = aLandCoverMapObj->Split( aShape );
- aLandCoverSplitted = ( i==0 ? aSplitResult : aLandCoverSplitted && aSplitResult );
+ aLandCoverSplit = ( i==0 ? aSplitResult : aLandCoverSplit && aSplitResult );
}
}
- if ( !aLandCoverSplitted )
+ if ( !aLandCoverSplit )
{
- theErrorMsg = tr( "LAND_COVER_NOT_SPLITTED" );
+ theErrorMsg = tr( "LAND_COVER_NOT_SPLIT" );
return false;
}
}