diff --git a/src/Mod/PartDesign/App/FeatureLoft.cpp b/src/Mod/PartDesign/App/FeatureLoft.cpp index 670b9aff5b..811fd972eb 100644 --- a/src/Mod/PartDesign/App/FeatureLoft.cpp +++ b/src/Mod/PartDesign/App/FeatureLoft.cpp @@ -123,7 +123,7 @@ App::DocumentObjectExecReturn *Loft::execute(void) if (subValues.empty()) throw Base::ValueError("Loft: No valid subelement linked in Part::Feature"); - shape = static_cast(obj)->Shape.getShape(). getSubShape(subValues[0].c_str()); + shape = static_cast(obj)->Shape.getShape().getSubShape(subValues[0].c_str()); } TopExp_Explorer ex; diff --git a/src/Mod/PartDesign/App/FeatureSketchBased.h b/src/Mod/PartDesign/App/FeatureSketchBased.h index bf3c1964d1..52e1b12f17 100644 --- a/src/Mod/PartDesign/App/FeatureSketchBased.h +++ b/src/Mod/PartDesign/App/FeatureSketchBased.h @@ -89,7 +89,7 @@ public: /** * Verifies the linked Object and returns the shape used as profile - * @param silent if profirle property is malformed and the parameter is true + * @param silent if profile property is malformed and the parameter is true * silently returns nullptr, otherwise throw a Base::Exception. * Default is false. */