Salome HOME
Fix too long lines (>= 100 characters)
authorazv <azv@opencascade.com>
Thu, 26 Sep 2019 14:00:47 +0000 (17:00 +0300)
committerazv <azv@opencascade.com>
Thu, 26 Sep 2019 14:01:11 +0000 (17:01 +0300)
src/SketchAPI/SketchAPI_EllipticArc.cpp
src/SketchAPI/SketchAPI_MacroEllipticArc.cpp

index dd7d905c8fdfcf8953cd0753616de51e8de3bbfd..27275096ce533c3f29ffd82ee96951b2d689ddd9 100644 (file)
@@ -213,7 +213,8 @@ void SketchAPI_EllipticArc::dump(ModelHighAPI_Dumper& theDumper) const
   AttributeSelectionPtr anExternal = aBase->selection(SketchPlugin_SketchEntity::EXTERNAL_ID());
   if (anExternal->context()) {
     // circle is external
-    theDumper << aBase << " = " << aSketchName << ".addEllipticArc(" << anExternal << ")" << std::endl;
+    theDumper << aBase << " = " << aSketchName << ".addEllipticArc("
+              << anExternal << ")" << std::endl;
   } else {
     // ellipse given by center, focus and radius
     theDumper << aBase << " = " << aSketchName << ".addEllipticArc("
index 4702bc84b72ce9a6aa0e96a23f05661e343174dc..bde81dfef0f16f4d10b5d94afa042dbf7d325d11 100644 (file)
@@ -58,7 +58,7 @@ static void fillAttribute(const std::shared_ptr<GeomAPI_Pnt2d>& thePoint,
   fillAttribute(aPoint, thePointAttr);
 }
 
-SketchAPI_MacroEllipticArc::SketchAPI_MacroEllipticArc(const std::shared_ptr<ModelAPI_Feature>& theFeature)
+SketchAPI_MacroEllipticArc::SketchAPI_MacroEllipticArc(const FeaturePtr& theFeature)
   : SketchAPI_MacroEllipse(theFeature)
 {
 }