]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix the long line formatting problem
authormpv <mpv@opencascade.com>
Fri, 26 Apr 2019 07:23:24 +0000 (10:23 +0300)
committermpv <mpv@opencascade.com>
Fri, 26 Apr 2019 07:23:24 +0000 (10:23 +0300)
src/FeaturesPlugin/FeaturesPlugin_RemoveSubShapes.cpp

index 0276c873d3b728352e8e64e236112f19ab811107..370efa3a6d76bb3ab73850afd123e344f8f327a7 100644 (file)
@@ -100,7 +100,8 @@ void FeaturesPlugin_RemoveSubShapes::attributeChanged(const std::string& theID)
       }
 
       std::list<GeomShapePtr> aSubShapes = GeomAlgoAPI_ShapeTools::getLowLevelSubShapes(aBaseShape);
-      for (ListOfShape::const_iterator anIt = aSubShapes.cbegin(); anIt != aSubShapes.cend(); ++anIt)
+      ListOfShape::const_iterator anIt = aSubShapes.cbegin();
+      for (; anIt != aSubShapes.cend(); ++anIt)
       {
         GeomShapePtr aSubShape = *anIt;
         if(!isHasSubs) {
@@ -137,7 +138,8 @@ void FeaturesPlugin_RemoveSubShapes::attributeChanged(const std::string& theID)
       }
 
       std::list<GeomShapePtr> aSubShapes = GeomAlgoAPI_ShapeTools::getLowLevelSubShapes(aBaseShape);
-      for (ListOfShape::const_iterator anIt = aSubShapes.cbegin(); anIt != aSubShapes.cend(); ++anIt)
+      ListOfShape::const_iterator anIt = aSubShapes.cbegin();
+      for (; anIt != aSubShapes.cend(); ++anIt)
       {
         GeomShapePtr aSubShape = *anIt;
         if (aSubShapesToKeep.isBound(aSubShape))
@@ -178,7 +180,8 @@ void FeaturesPlugin_RemoveSubShapes::attributeChanged(const std::string& theID)
 
 
       std::list<GeomShapePtr> aSubShapes = GeomAlgoAPI_ShapeTools::getLowLevelSubShapes(aBaseShape);
-      for (ListOfShape::const_iterator anIt = aSubShapes.cbegin(); anIt != aSubShapes.cend(); ++anIt)
+      ListOfShape::const_iterator anIt = aSubShapes.cbegin();
+      for (; anIt != aSubShapes.cend(); ++anIt)
       {
         GeomShapePtr aSubShape = *anIt;
         if (aSubShapesToRemove.isBound(aSubShape))