]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/SketchPlugin/SketchPlugin_ExternalValidator.cpp
Salome HOME
Issue #1834: Fix length of lines
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_ExternalValidator.cpp
index 9c9fc3345d4ecdcb345a66742990301d860d4d81..a9d232da6a45dba4a93195657ab6a207b62b54cc 100644 (file)
@@ -40,13 +40,14 @@ bool SketchPlugin_ExternalValidator::isValid(const AttributePtr& theAttribute,
 bool SketchPlugin_ExternalValidator::isExternalAttribute(const AttributePtr& theAttribute) const
 {
   bool isExternal = false;
-  AttributeRefAttrPtr anAttribute = std::dynamic_pointer_cast<ModelAPI_AttributeRefAttr>(theAttribute);
+  AttributeRefAttrPtr anAttribute = 
+    std::dynamic_pointer_cast<ModelAPI_AttributeRefAttr>(theAttribute);
 
   if (anAttribute.get() != NULL) {
     FeaturePtr anArgumentFeature = ModelAPI_Feature::feature(anAttribute->object());
     if (anArgumentFeature.get() != NULL) {
       std::shared_ptr<SketchPlugin_Feature> aSketchFeature =
-                                    std::dynamic_pointer_cast<SketchPlugin_Feature>(anArgumentFeature);
+                        std::dynamic_pointer_cast<SketchPlugin_Feature>(anArgumentFeature);
       if (aSketchFeature.get() != NULL) {
         isExternal = aSketchFeature->isExternal();
       }