]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Meet coding standard (fix too long lines).
authorazv <azv@opencascade.com>
Mon, 9 Sep 2019 10:59:10 +0000 (13:59 +0300)
committerazv <azv@opencascade.com>
Mon, 9 Sep 2019 10:59:10 +0000 (13:59 +0300)
src/ModuleBase/ModuleBase_Dialog.cpp
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Storage.cpp
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Tools.cpp
src/XGUI/XGUI_Workshop.cpp

index 0f2ffeeb68726cb934ef8294897edef4c2289c0a..046c8abb55ee9674f57b598bf407df3f54f28037 100644 (file)
@@ -47,7 +47,8 @@ ModuleBase_Dialog::ModuleBase_Dialog(ModuleBase_IWorkshop* theParent, const QStr
                                      myActiveWidget(0)
 {
   ModuleBase_WidgetFactory aFactory(myDescription, myWorkshop);
-  QString aTitle = ModuleBase_Tools::translate("ModuleBase_Dialog", aFactory.widgetAPI()->getProperty(FEATURE_TEXT));
+  QString aTitle = ModuleBase_Tools::translate("ModuleBase_Dialog",
+      aFactory.widgetAPI()->getProperty(FEATURE_TEXT));
 
   setWindowTitle(aTitle);
 
index 1cd94ac2e274e2f2ac085eee7610053e6c5f11bf..9f23cf6c51a09cabb0946b726e55ad191012e384 100644 (file)
@@ -352,10 +352,12 @@ static void createEllipseConstraints(
       anAlignmentX = GCS::EllipsePositiveMinorX;
 
     anEllipseConstraints.push_back(GCSConstraintPtr(
-        new GCS::ConstraintInternalAlignmentPoint2Ellipse(*anEllipse, *(aPoint->point()), anAlignmentX)));
+        new GCS::ConstraintInternalAlignmentPoint2Ellipse(
+        *anEllipse, *(aPoint->point()), anAlignmentX)));
     anAlignmentY = (GCS::InternalAlignmentType)((int)anAlignmentX + 1);
     anEllipseConstraints.push_back(GCSConstraintPtr(
-        new GCS::ConstraintInternalAlignmentPoint2Ellipse(*anEllipse, *(aPoint->point()), anAlignmentY)));
+        new GCS::ConstraintInternalAlignmentPoint2Ellipse(
+        *anEllipse, *(aPoint->point()), anAlignmentY)));
   }
 
   // constraint to bind the major radius value
index d5ff3cb3dd4cd057f9c99d134328171743617c7d..4cb7ef44db67862ada4733482064bbf6213d9dfd 100644 (file)
@@ -353,7 +353,8 @@ ConstraintWrapperPtr createConstraintPointOnEntity(
   case ENTITY_ELLIPTICAL_ARC: {
     std::shared_ptr<GCS::Ellipse> anEllipse =
         std::dynamic_pointer_cast<GCS::Ellipse>(theEntity->entity());
-    aNewConstr = GCSConstraintPtr(new GCS::ConstraintPointOnEllipse(*(thePoint->point()), *anEllipse));
+    aNewConstr = GCSConstraintPtr(
+        new GCS::ConstraintPointOnEllipse(*(thePoint->point()), *anEllipse));
     break;
     }
   default:
index 79ec5dd47c5593070ce5a9745f1a8a0576721f21..18c034672065b01d52bd10990a0fcdd5930e4e6e 100644 (file)
@@ -1961,7 +1961,8 @@ void XGUI_Workshop::cleanHistory()
     QString anUnusedNames = aNames.join(", ");
 
     QString anActionId = "CLEAN_HISTORY_CMD";
-    QString aDescription = ModuleBase_Tools::translate("workshop", contextMenuMgr()->action(anActionId)->text().toStdString());
+    QString aDescription = ModuleBase_Tools::translate("workshop",
+        contextMenuMgr()->action(anActionId)->text().toStdString());
 
     QMessageBox aMessageBox(desktop());
     aMessageBox.setWindowTitle(aDescription);