]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #2559: remove duplicated line, fix indentation.
authormzn <mzn@opencascade.com>
Tue, 24 Jul 2018 11:18:24 +0000 (14:18 +0300)
committervsv <vsv@opencascade.com>
Tue, 24 Jul 2018 12:33:38 +0000 (15:33 +0300)
src/BuildPlugin/BuildPlugin_Plugin.cpp

index fbf02dbc4e53f91080f24a03a20a24ec76cd8564..3c6a9cf48eda7ea95ad605df7de3e3269cebe2ed 100644 (file)
@@ -72,10 +72,8 @@ FeaturePtr BuildPlugin_Plugin::createFeature(std::string theFeatureID)
     return FeaturePtr(new BuildPlugin_Edge());
   } else if(theFeatureID == BuildPlugin_Wire::ID()) {
     return FeaturePtr(new BuildPlugin_Wire());
-  } else if (theFeatureID == BuildPlugin_Wire::ID()) {
-       return FeaturePtr(new BuildPlugin_Wire());
   } else if (theFeatureID == BuildPlugin_Polyline::ID()) {
-       return FeaturePtr(new BuildPlugin_Polyline());
+    return FeaturePtr(new BuildPlugin_Polyline());
   } else if (theFeatureID == BuildPlugin_Interpolation::ID()) {
     return FeaturePtr(new BuildPlugin_Interpolation());
   } else if (theFeatureID == BuildPlugin_Face::ID()) {