]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix too long line error (meet coding style).
authorArtem Zhidkov <Artem.Zhidkov@opencascade.com>
Sun, 10 May 2020 20:40:51 +0000 (23:40 +0300)
committerArtem Zhidkov <Artem.Zhidkov@opencascade.com>
Sun, 10 May 2020 20:40:51 +0000 (23:40 +0300)
src/Selector/Selector_Modify.cpp

index eb0817d835d1ea815c952294fa5cbb3b1bce203e..987915eebe6543acbe1a3acf8879001c5ebaad98 100644 (file)
@@ -259,7 +259,8 @@ TDF_Label Selector_Modify::restoreByName(std::string theName,
                            aSubStr.find(weakNameID()) :
                            aFoundOldWeak;
     if (aFoundOldWeak == 0 || aFoundNewWeak == 0) { // weak name identifier
-      std::string aWeakIndex = aSubStr.substr(aFoundOldWeak + oldWeakNameID().size());\r      myWeakIndex = atoi(aWeakIndex.c_str());
+      std::string aWeakIndex = aSubStr.substr(aFoundOldWeak + oldWeakNameID().size());
+      myWeakIndex = atoi(aWeakIndex.c_str());
       myRecomputeWeakIndex = aFoundOldWeak == 0;
       continue;
     }