From: azv Date: Mon, 9 Sep 2019 10:59:10 +0000 (+0300) Subject: Meet coding standard (fix too long lines). X-Git-Tag: V9_4_0a2~4^2~126 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=76d83973ffec891cc582ff25c8000ed0e2f4fcc8;p=modules%2Fshaper.git Meet coding standard (fix too long lines). --- diff --git a/src/ModuleBase/ModuleBase_Dialog.cpp b/src/ModuleBase/ModuleBase_Dialog.cpp index 0f2ffeeb6..046c8abb5 100644 --- a/src/ModuleBase/ModuleBase_Dialog.cpp +++ b/src/ModuleBase/ModuleBase_Dialog.cpp @@ -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); diff --git a/src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Storage.cpp b/src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Storage.cpp index 1cd94ac2e..9f23cf6c5 100644 --- a/src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Storage.cpp +++ b/src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Storage.cpp @@ -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 diff --git a/src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Tools.cpp b/src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Tools.cpp index d5ff3cb3d..4cb7ef44d 100644 --- a/src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Tools.cpp +++ b/src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Tools.cpp @@ -353,7 +353,8 @@ ConstraintWrapperPtr createConstraintPointOnEntity( case ENTITY_ELLIPTICAL_ARC: { std::shared_ptr anEllipse = std::dynamic_pointer_cast(theEntity->entity()); - aNewConstr = GCSConstraintPtr(new GCS::ConstraintPointOnEllipse(*(thePoint->point()), *anEllipse)); + aNewConstr = GCSConstraintPtr( + new GCS::ConstraintPointOnEllipse(*(thePoint->point()), *anEllipse)); break; } default: diff --git a/src/XGUI/XGUI_Workshop.cpp b/src/XGUI/XGUI_Workshop.cpp index 79ec5dd47..18c034672 100644 --- a/src/XGUI/XGUI_Workshop.cpp +++ b/src/XGUI/XGUI_Workshop.cpp @@ -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);