From: azv Date: Thu, 27 Apr 2017 05:04:17 +0000 (+0300) Subject: Meet the coding style (line length <= 100) X-Git-Tag: V_2.7.1.1~3^2~13 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e8163f13bd18658d050ac98ad111281d18cdae0d;p=modules%2Fshaper.git Meet the coding style (line length <= 100) --- diff --git a/src/PartSet/PartSet_ExternalPointsMgr.h b/src/PartSet/PartSet_ExternalPointsMgr.h index 8ced4b403..a053bcd1a 100644 --- a/src/PartSet/PartSet_ExternalPointsMgr.h +++ b/src/PartSet/PartSet_ExternalPointsMgr.h @@ -29,7 +29,8 @@ class PartSet_ExternalPointsMgr: public QObject { Q_OBJECT public: - PartSet_ExternalPointsMgr(ModuleBase_IWorkshop* theWorkshop, const CompositeFeaturePtr& theSketch); + PartSet_ExternalPointsMgr(ModuleBase_IWorkshop* theWorkshop, + const CompositeFeaturePtr& theSketch); virtual ~PartSet_ExternalPointsMgr(); diff --git a/src/PartSet/PartSet_Tools.cpp b/src/PartSet/PartSet_Tools.cpp index bb204073b..678e14074 100755 --- a/src/PartSet/PartSet_Tools.cpp +++ b/src/PartSet/PartSet_Tools.cpp @@ -891,11 +891,12 @@ bool PartSet_Tools::isAuxiliarySketchEntity(const ObjectPtr& theObject) } -ResultPtr PartSet_Tools::createFixedByExternalCenter(const ObjectPtr& theObject, - const std::shared_ptr& theEdge, - ModelAPI_AttributeSelection::CenterType theType, - const CompositeFeaturePtr& theSketch, - bool theTemporary) +ResultPtr PartSet_Tools::createFixedByExternalCenter( + const ObjectPtr& theObject, + const std::shared_ptr& theEdge, + ModelAPI_AttributeSelection::CenterType theType, + const CompositeFeaturePtr& theSketch, + bool theTemporary) { FeaturePtr aMyFeature = theSketch->addFeature(SketchPlugin_Point::ID()); diff --git a/src/PartSet/PartSet_WidgetPoint2d.cpp b/src/PartSet/PartSet_WidgetPoint2d.cpp index 9d3345e1d..93d132b98 100644 --- a/src/PartSet/PartSet_WidgetPoint2d.cpp +++ b/src/PartSet/PartSet_WidgetPoint2d.cpp @@ -684,13 +684,15 @@ void PartSet_WidgetPoint2D::mouseReleased(ModuleBase_IViewWindow* theWindow, QMo } // The selection could be a center of an external circular object else if (aFirstValue.get() && (!aFirstValue->interactive().IsNull())) { - Handle(PartSet_CenterPrs) aAIS = Handle(PartSet_CenterPrs)::DownCast(aFirstValue->interactive()); + Handle(PartSet_CenterPrs) aAIS = + Handle(PartSet_CenterPrs)::DownCast(aFirstValue->interactive()); if (!aAIS.IsNull()) { gp_Pnt aPntComp = aAIS->Component()->Pnt(); GeomVertexPtr aVertPtr(new GeomAPI_Vertex(aPntComp.X(), aPntComp.Y(), aPntComp.Z())); TopoDS_Shape aShape = aVertPtr->impl(); - ResultPtr aFixedObject = PartSet_Tools::findFixedObjectByExternal(aShape, aAIS->object(), mySketch); + ResultPtr aFixedObject = + PartSet_Tools::findFixedObjectByExternal(aShape, aAIS->object(), mySketch); if (!aFixedObject.get()) aFixedObject = PartSet_Tools::createFixedByExternalCenter(aAIS->object(), aAIS->edge(), aAIS->centerType(), mySketch); diff --git a/src/SketchPlugin/SketchPlugin_MacroEllipse.cpp b/src/SketchPlugin/SketchPlugin_MacroEllipse.cpp index 77a04c978..1376384ea 100644 --- a/src/SketchPlugin/SketchPlugin_MacroEllipse.cpp +++ b/src/SketchPlugin/SketchPlugin_MacroEllipse.cpp @@ -50,7 +50,8 @@ void SketchPlugin_MacroEllipse::initAttributes() data()->addAttribute(AUXILIARY_ID(), ModelAPI_AttributeBoolean::typeId()); ModelAPI_Session::get()->validators()->registerNotObligatory(getKind(), CENTER_POINT_REF_ID()); - ModelAPI_Session::get()->validators()->registerNotObligatory(getKind(), MAJOR_AXIS_POINT_REF_ID()); + ModelAPI_Session::get()->validators()-> + registerNotObligatory(getKind(), MAJOR_AXIS_POINT_REF_ID()); ModelAPI_Session::get()->validators()->registerNotObligatory(getKind(), PASSED_POINT_REF_ID()); }