]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Coding style (split tool long lines)
authorazv <azv@opencascade.com>
Fri, 24 Nov 2017 11:45:02 +0000 (14:45 +0300)
committerazv <azv@opencascade.com>
Fri, 24 Nov 2017 11:45:02 +0000 (14:45 +0300)
src/Model/Model_Document.cpp
src/Model/Model_Objects.cpp

index 669c6ac1fce327703ed3c4fc1ba5f0bd951c6a30..2be9514ca24746c6218041a740d7df0bca72d864 100755 (executable)
@@ -1044,7 +1044,8 @@ std::shared_ptr<ModelAPI_Object> Model_Document::objectByName(
   return myObjs->objectByName(theGroupID, theName);
 }
 
-const int Model_Document::index(std::shared_ptr<ModelAPI_Object> theObject, const bool theAllowFolder)
+const int Model_Document::index(std::shared_ptr<ModelAPI_Object> theObject,
+                                const bool theAllowFolder)
 {
   return myObjs->index(theObject, theAllowFolder);
 }
index 4522d14d8acfb7c2307804854cc654be07406999..459fff166e46d45bb881dabd81e64f6b2e368f76 100644 (file)
@@ -1497,8 +1497,10 @@ bool Model_Objects::removeFromFolder(
   if (theFeatures.empty())
     return false;
 
-  FolderPtr aFirstFeatureFolder = inFolder(theFeatures.front(), ModelAPI_Folder::FIRST_FEATURE_ID());
-  FolderPtr aLastFeatureFolder  = inFolder(theFeatures.back(),  ModelAPI_Folder::LAST_FEATURE_ID());
+  FolderPtr aFirstFeatureFolder =
+      inFolder(theFeatures.front(), ModelAPI_Folder::FIRST_FEATURE_ID());
+  FolderPtr aLastFeatureFolder =
+      inFolder(theFeatures.back(),  ModelAPI_Folder::LAST_FEATURE_ID());
 
   bool isExtractBeforeFolder = theBefore;
   FolderPtr aFoundFolder =