[PD] fix typos

This commit is contained in:
Uwe
2021-11-13 00:29:33 +01:00
parent 23370d3ba1
commit c6f48531cc
2 changed files with 2 additions and 2 deletions

View File

@@ -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<Part::Feature*>(obj)->Shape.getShape(). getSubShape(subValues[0].c_str());
shape = static_cast<Part::Feature*>(obj)->Shape.getShape().getSubShape(subValues[0].c_str());
}
TopExp_Explorer ex;

View File

@@ -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.
*/