From: azv Date: Sat, 1 Apr 2017 14:42:02 +0000 (+0300) Subject: Fix to meet coding rules X-Git-Tag: V_2.7.0~105 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=aef9c1a87bc7ca357d8dfe47c56ac5edc9935d35;p=modules%2Fshaper.git Fix to meet coding rules --- diff --git a/src/SketchSolver/SketchSolver_ConstraintMultiRotation.cpp b/src/SketchSolver/SketchSolver_ConstraintMultiRotation.cpp index 78bf3312e..e6c187069 100644 --- a/src/SketchSolver/SketchSolver_ConstraintMultiRotation.cpp +++ b/src/SketchSolver/SketchSolver_ConstraintMultiRotation.cpp @@ -24,7 +24,8 @@ void SketchSolver_ConstraintMultiRotation::getAttributes( theAngle = aValueBuilder.createAttribute(anAngleAttr); myStorage->addEntity(anAngleAttr, theAngle); - AttributeRefAttrPtr aCenterAttr = myBaseConstraint->refattr(SketchPlugin_MultiRotation::CENTER_ID()); + AttributeRefAttrPtr aCenterAttr = + myBaseConstraint->refattr(SketchPlugin_MultiRotation::CENTER_ID()); if (!aCenterAttr || !aCenterAttr->isInitialized()) { myErrorMsg = SketchSolver_Error::NOT_INITIALIZED(); return; diff --git a/src/SketchSolver/SketchSolver_ConstraintMultiTranslation.cpp b/src/SketchSolver/SketchSolver_ConstraintMultiTranslation.cpp index b05827b9d..2c56f810b 100644 --- a/src/SketchSolver/SketchSolver_ConstraintMultiTranslation.cpp +++ b/src/SketchSolver/SketchSolver_ConstraintMultiTranslation.cpp @@ -17,8 +17,10 @@ void SketchSolver_ConstraintMultiTranslation::getAttributes( bool& theFullValue, std::list& theEntities) { DataPtr aData = myBaseConstraint->data(); - AttributeRefAttrPtr aStartPointAttr = aData->refattr(SketchPlugin_MultiTranslation::START_POINT_ID()); - AttributeRefAttrPtr aEndPointAttr = aData->refattr(SketchPlugin_MultiTranslation::END_POINT_ID()); + AttributeRefAttrPtr aStartPointAttr = + aData->refattr(SketchPlugin_MultiTranslation::START_POINT_ID()); + AttributeRefAttrPtr aEndPointAttr = + aData->refattr(SketchPlugin_MultiTranslation::END_POINT_ID()); if (!aStartPointAttr || !aStartPointAttr->isInitialized() || !aEndPointAttr || !aEndPointAttr->isInitialized()) { myErrorMsg = SketchSolver_Error::NOT_INITIALIZED();