]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix for the Coding rules.
authormpv <mikhail.ponikarov@opencascade.com>
Tue, 19 Jun 2018 13:27:09 +0000 (16:27 +0300)
committermpv <mikhail.ponikarov@opencascade.com>
Tue, 19 Jun 2018 13:27:09 +0000 (16:27 +0300)
src/GeomAlgoAPI/GeomAlgoAPI_Filling.cpp
src/ModelHighAPI/ModelHighAPI_Dumper.cpp

index f08f44a4f7b8dcfb877394bd6510ef3e03ae8aff..3609b06ff66406806f0eb8d8678fd1cbc129c277 100644 (file)
@@ -102,7 +102,8 @@ void GeomAlgoAPI_Filling::buildByEdges()
 
   // check myMaxDegree >= aCurves.size() - 1 to be able to interpolate a surface
   if (myMaxDegree + 1 < aNbCurves) {
-    myError = "Unable to interpolate surface, Max deg + 1 should be greater or equal than number of sections.";
+    myError = "Unable to interpolate surface,"
+       " Max deg + 1 should be greater or equal than number of sections.";
     return;
   }
 
index 6e6a7090b206c795e906eeb3f33d67e66edcd532..985e6761ea60da801a77c61a13e2fcb18134a133 100644 (file)
@@ -174,7 +174,8 @@ const std::string& ModelHighAPI_Dumper::name(const EntityPtr& theEntity,
       int aFullIndex = 0;
       NbFeaturesMap::const_iterator aFIt = myFeatureCount.begin();
       for (; aFIt != myFeatureCount.end(); ++aFIt) {
-        std::map<std::string, std::pair<int, int> >::const_iterator aFound = aFIt->second.find(aKind);
+        std::map<std::string, std::pair<int, int> >::const_iterator aFound =
+          aFIt->second.find(aKind);
         if (aFound != aFIt->second.end())
           aFullIndex += aFound->second.first;
       }