+ remove 'using namespace Part' inside header file

This commit is contained in:
wmayer
2016-04-13 16:20:31 +02:00
parent df48d1668b
commit 08df5cbc59
7 changed files with 10 additions and 12 deletions

View File

@@ -210,7 +210,7 @@ TopoDS_Face ProfileBased::getVerifiedFace(bool silent) const {
err = "Linked object has no subshape specified";
else {
const TopoShape& shape = Profile.getValue<Part::Feature*>()->Shape.getShape();
const Part::TopoShape& shape = Profile.getValue<Part::Feature*>()->Shape.getShape();
TopoDS_Shape sub = shape.getSubShape(Profile.getSubValues()[0].c_str());
if(sub.ShapeType() == TopAbs_FACE)
return TopoDS::Face(sub);