From: azv Date: Fri, 16 Aug 2019 05:59:18 +0000 (+0300) Subject: Fix too long lines X-Git-Tag: V9_4_0a2~4^2~142 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=bb4d0036dd0785056ab21fc237ec7fcc0870ae5f;p=modules%2Fshaper.git Fix too long lines --- diff --git a/src/PartSet/PartSet_SketcherReentrantMgr.cpp b/src/PartSet/PartSet_SketcherReentrantMgr.cpp index cd95a10e4..3a003a708 100644 --- a/src/PartSet/PartSet_SketcherReentrantMgr.cpp +++ b/src/PartSet/PartSet_SketcherReentrantMgr.cpp @@ -842,10 +842,10 @@ void PartSet_SketcherReentrantMgr::addConstraints(const FeaturePtr& theFeature) if (theFeature->getKind() == SketchPlugin_Line::ID()) { std::shared_ptr aData = theFeature->data(); - std::shared_ptr aPoint1 = - std::dynamic_pointer_cast(aData->attribute(SketchPlugin_Line::START_ID())); - std::shared_ptr aPoint2 = - std::dynamic_pointer_cast(aData->attribute(SketchPlugin_Line::END_ID())); + std::shared_ptr aPoint1 = std::dynamic_pointer_cast( + aData->attribute(SketchPlugin_Line::START_ID())); + std::shared_ptr aPoint2 = std::dynamic_pointer_cast( + aData->attribute(SketchPlugin_Line::END_ID())); if (aPoint1.get() && aPoint2.get()) { GeomLine2dPtr aLine(new GeomAPI_Lin2d(aPoint1->pnt(), aPoint2->pnt())); GeomDir2dPtr aDir = aLine->direction(); @@ -866,8 +866,10 @@ void PartSet_SketcherReentrantMgr::addConstraints(const FeaturePtr& theFeature) // Add vertical constraint aFeature = aSketch->addFeature(SketchPlugin_ConstraintVertical::ID()); - if (aFeature.get()) - aFeature->refattr(SketchPlugin_Constraint::ENTITY_A())->setObject(theFeature->firstResult()); + if (aFeature.get()) { + aFeature->refattr(SketchPlugin_Constraint::ENTITY_A())->setObject( + theFeature->firstResult()); + } } } }