Salome HOME
global misprinting in the word "splitted" is replaced by "split"
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_LandCoverMapOp.cxx
index 5db4f16b8af1e875975c2313f9b4d39240d3c2f2..1c83e787b722bba04fee5debae9ddd3b5126775e 100644 (file)
@@ -285,9 +285,9 @@ bool HYDROGUI_LandCoverMapOp::processApply( int& theUpdateFlags,
   // 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
@@ -302,12 +302,12 @@ bool HYDROGUI_LandCoverMapOp::processApply( int& theUpdateFlags,
           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;
     }
   }