From dafe3e44fa91de33725519c37019a4b7403ec87c Mon Sep 17 00:00:00 2001 From: azv Date: Tue, 28 Mar 2017 11:45:50 +0300 Subject: [PATCH] Fix coding style (line length <= 100) --- src/ModelGeomAlgo/ModelGeomAlgo_Point2D.cpp | 3 ++- src/ModelGeomAlgo/ModelGeomAlgo_Point2D.h | 3 ++- src/SketchPlugin/SketchPlugin_Trim.cpp | 3 ++- src/SketchSolver/SketchSolver_Group.cpp | 4 +++- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/ModelGeomAlgo/ModelGeomAlgo_Point2D.cpp b/src/ModelGeomAlgo/ModelGeomAlgo_Point2D.cpp index 70cd9cb72..d7115a091 100755 --- a/src/ModelGeomAlgo/ModelGeomAlgo_Point2D.cpp +++ b/src/ModelGeomAlgo/ModelGeomAlgo_Point2D.cpp @@ -191,7 +191,8 @@ void appendShapePoints(const GeomShapePtr& theShape, } } -void ModelGeomAlgo_Point2D::getPointsIntersectedShape(const std::shared_ptr& theBaseFeature, +void ModelGeomAlgo_Point2D::getPointsIntersectedShape( + const std::shared_ptr& theBaseFeature, const std::list >& theFeatures, PointToRefsMap& thePointToAttributeOrObject) { diff --git a/src/ModelGeomAlgo/ModelGeomAlgo_Point2D.h b/src/ModelGeomAlgo/ModelGeomAlgo_Point2D.h index 15826a20c..afa13b127 100755 --- a/src/ModelGeomAlgo/ModelGeomAlgo_Point2D.h +++ b/src/ModelGeomAlgo/ModelGeomAlgo_Point2D.h @@ -51,7 +51,8 @@ public: /// \param isSkipFeatureAttributes a boolean value if coincidences to the feature attributes /// should be skipped /// \returns found point attribute or NULL - static MODELGEOMALGO_EXPORT void getPointsOfReference(const std::shared_ptr& theObject, + static MODELGEOMALGO_EXPORT + void getPointsOfReference(const std::shared_ptr& theObject, const std::string& theReferenceFeatureKind, std::set >& theAttributes, const std::string& theObjectFeatureKind = "", diff --git a/src/SketchPlugin/SketchPlugin_Trim.cpp b/src/SketchPlugin/SketchPlugin_Trim.cpp index f45bb609f..c2408c1cc 100644 --- a/src/SketchPlugin/SketchPlugin_Trim.cpp +++ b/src/SketchPlugin/SketchPlugin_Trim.cpp @@ -334,7 +334,8 @@ void SketchPlugin_Trim::execute() continue; if (aReplacingResult.get()) { - AttributeRefAttrPtr aRefAttr = std::dynamic_pointer_cast(anAttribute); + AttributeRefAttrPtr aRefAttr = + std::dynamic_pointer_cast(anAttribute); if (aRefAttr.get()) aRefAttr->setObject(aReplacingResult); else { diff --git a/src/SketchSolver/SketchSolver_Group.cpp b/src/SketchSolver/SketchSolver_Group.cpp index 709407ee5..c02c9a6d0 100644 --- a/src/SketchSolver/SketchSolver_Group.cpp +++ b/src/SketchSolver/SketchSolver_Group.cpp @@ -34,7 +34,9 @@ static void sendMessage(const char* theMessageName, const std::set& t Events_Loop::loop()->send(aMessage); } -static void sendMessage(const char* theMessageName, const CompositeFeaturePtr& theSketch, const int theDOF) +static void sendMessage(const char* theMessageName, + const CompositeFeaturePtr& theSketch, + const int theDOF) { std::shared_ptr aMessage = std::shared_ptr( -- 2.39.2