From: azv Date: Fri, 28 Apr 2017 15:04:15 +0000 (+0300) Subject: Meet the coding style (line length <= 100) X-Git-Tag: V_2.7.1.1~3^2~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b2789486810cd4f9484e4e40cd0f2dc6d7c7b00f;p=modules%2Fshaper.git Meet the coding style (line length <= 100) --- diff --git a/src/ModelAPI/ModelAPI_Events.cpp b/src/ModelAPI/ModelAPI_Events.cpp index 2a4665d4b..1224934af 100644 --- a/src/ModelAPI/ModelAPI_Events.cpp +++ b/src/ModelAPI/ModelAPI_Events.cpp @@ -354,7 +354,8 @@ void ModelAPI_ObjectMovedMessage::setOriginalPosition(double theX, double theY) myOriginalPosition = std::shared_ptr(new GeomAPI_Pnt2d(theX, theY)); } -void ModelAPI_ObjectMovedMessage::setOriginalPosition(const std::shared_ptr& thePoint) +void ModelAPI_ObjectMovedMessage::setOriginalPosition( + const std::shared_ptr& thePoint) { myOriginalPosition = thePoint; } @@ -364,7 +365,8 @@ void ModelAPI_ObjectMovedMessage::setCurrentPosition(double theX, double theY) myCurrentPosition = std::shared_ptr(new GeomAPI_Pnt2d(theX, theY)); } -void ModelAPI_ObjectMovedMessage::setCurrentPosition(const std::shared_ptr& thePoint) +void ModelAPI_ObjectMovedMessage::setCurrentPosition( + const std::shared_ptr& thePoint) { myCurrentPosition = thePoint; } diff --git a/src/SketchSolver/SketchSolver_ConstraintMovement.cpp b/src/SketchSolver/SketchSolver_ConstraintMovement.cpp index 59dcac14a..850a8c92d 100644 --- a/src/SketchSolver/SketchSolver_ConstraintMovement.cpp +++ b/src/SketchSolver/SketchSolver_ConstraintMovement.cpp @@ -67,7 +67,8 @@ EntityWrapperPtr SketchSolver_ConstraintMovement::entityToFix() return myStorage->entity(myMovedFeature); } -void SketchSolver_ConstraintMovement::moveTo(const std::shared_ptr& theDestinationPoint) +void SketchSolver_ConstraintMovement::moveTo( + const std::shared_ptr& theDestinationPoint) { #ifdef SUPPORT_NEW_MOVE EntityWrapperPtr aMovedEntity = myStorage->entity(myMovedFeature); diff --git a/src/SketchSolver/SketchSolver_ConstraintMovement.h b/src/SketchSolver/SketchSolver_ConstraintMovement.h index 42d3f3982..59fa2a198 100644 --- a/src/SketchSolver/SketchSolver_ConstraintMovement.h +++ b/src/SketchSolver/SketchSolver_ConstraintMovement.h @@ -47,7 +47,7 @@ protected: virtual EntityWrapperPtr entityToFix(); private: - FeaturePtr myMovedFeature; ///< fixed feature (when it is set, myBaseConstraint should be NULL) + FeaturePtr myMovedFeature; ///< fixed feature (if set, myBaseConstraint should be NULL) AttributePtr myDraggedPoint; ///< one of the feature points which has been moved std::shared_ptr myStartPoint; ///< start point of the movement };