From: mpv Date: Fri, 26 Apr 2019 07:23:24 +0000 (+0300) Subject: Fix the long line formatting problem X-Git-Tag: VEDF2019Lot4~101^2~93 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fb8754e14c7f628633d6ff89a8a256749cce4e8a;p=modules%2Fshaper.git Fix the long line formatting problem --- diff --git a/src/FeaturesPlugin/FeaturesPlugin_RemoveSubShapes.cpp b/src/FeaturesPlugin/FeaturesPlugin_RemoveSubShapes.cpp index 0276c873d..370efa3a6 100644 --- a/src/FeaturesPlugin/FeaturesPlugin_RemoveSubShapes.cpp +++ b/src/FeaturesPlugin/FeaturesPlugin_RemoveSubShapes.cpp @@ -100,7 +100,8 @@ void FeaturesPlugin_RemoveSubShapes::attributeChanged(const std::string& theID) } std::list 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 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 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))