diff --git a/src/Mod/Part/App/PartFeature.cpp b/src/Mod/Part/App/PartFeature.cpp
index 4ca176884..2843cecb8 100644
--- a/src/Mod/Part/App/PartFeature.cpp
+++ b/src/Mod/Part/App/PartFeature.cpp
@@ -51,7 +51,7 @@
#include
#include
#include
-#include
+#include
#include "PartFeature.h"
#include "PartFeaturePy.h"
@@ -232,15 +232,6 @@ ShapeHistory Feature::joinHistory(const ShapeHistory& oldH, const ShapeHistory&
return join;
}
-const TopoDS_Shape Feature::findOriginOf(const TopoDS_Shape& reference) {
-/* Base::Console().Error("Looking for origin of face in %s\n", this->getName());
- if (reference.ShapeType() == TopAbs_FACE) {
- // Find index of reference in the history
- }
-*/
- return TopoDS_Shape();
-}
-
/// returns the type name of the ViewProvider
const char* Feature::getViewProviderName(void) const {
return "PartGui::ViewProviderPart";
diff --git a/src/Mod/Part/App/PartFeature.h b/src/Mod/Part/App/PartFeature.h
index d724cf6ac..46898c123 100644
--- a/src/Mod/Part/App/PartFeature.h
+++ b/src/Mod/Part/App/PartFeature.h
@@ -68,12 +68,6 @@ public:
virtual PyObject* getPyObject(void);
virtual std::vector getPySubObjects(const std::vector&) const;
- /**
- * Find the origin of a reference, e.g. the vertex or edge in a sketch that
- * produced a face
- */
- const TopoDS_Shape findOriginOf(const TopoDS_Shape& reference);
-
protected:
void onChanged(const App::Property* prop);
TopLoc_Location getLocation() const;