diff --git a/src/App/GeoFeature.cpp b/src/App/GeoFeature.cpp index 7881a3936ed0..6d8af97b5087 100644 --- a/src/App/GeoFeature.cpp +++ b/src/App/GeoFeature.cpp @@ -297,12 +297,4 @@ std::vector GeoFeature::getElementTypes(bool /*all*/) const return prop->getComplexData()->getElementTypes(); } -std::vector GeoFeature::getHigherElements(const char* element, bool silent) const -{ - auto prop = getPropertyOfGeometry(); - if (!prop) { - return {}; - } - return prop->getComplexData()->getHigherElements(element, silent); -} #endif diff --git a/src/App/GeoFeature.h b/src/App/GeoFeature.h index 701c2d92bb04..3bf7304d1bd6 100644 --- a/src/App/GeoFeature.h +++ b/src/App/GeoFeature.h @@ -188,10 +188,6 @@ class AppExport GeoFeature: public App::DocumentObject virtual std::vector getElementTypes(bool all = true) const; - /// Return the higher level element names of the given element - virtual std::vector getHigherElements(const char* name, - bool silent = false) const; - protected: void onChanged(const Property* prop) override; // void onDocumentRestored() override;