]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/GeomValidators/GeomValidators_PartitionArguments.cpp
Salome HOME
Issue #1834: Fix length of lines
[modules/shaper.git] / src / GeomValidators / GeomValidators_PartitionArguments.cpp
index 9d017b017e3857fb9a285735af85bf8bc115580b..ab60b8ea682887d51bd02b71a4eba105cb3263ac 100644 (file)
@@ -43,7 +43,8 @@ bool GeomValidators_PartitionArguments::isValid(const std::shared_ptr<ModelAPI_F
     isCombine = anAttrBool->value();
   }
 
-  if((anObjectsNb > 0 && aToolsNb > 0) || (isCombine && anObjectsNb != 0 && (anObjectsNb + aToolsNb > 1))) {
+  if((anObjectsNb > 0 && aToolsNb > 0) || 
+     (isCombine && anObjectsNb != 0 && (anObjectsNb + aToolsNb > 1))) {
     return true;
   }
 
@@ -52,7 +53,8 @@ bool GeomValidators_PartitionArguments::isValid(const std::shared_ptr<ModelAPI_F
 }
 
 //=================================================================================================
-bool GeomValidators_PartitionArguments::isNotObligatory(std::string theFeature, std::string theAttribute)
+bool GeomValidators_PartitionArguments::isNotObligatory(std::string theFeature, 
+                                                        std::string theAttribute)
 {
   if(theAttribute == "tool_objects") {
     return true;