diff --git a/src/App/GeoFeature.cpp b/src/App/GeoFeature.cpp index 5c48f05afeae..0040503e9356 100644 --- a/src/App/GeoFeature.cpp +++ b/src/App/GeoFeature.cpp @@ -278,12 +278,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 aba2d0cb44cb..66e1f795b589 100644 --- a/src/App/GeoFeature.h +++ b/src/App/GeoFeature.h @@ -179,8 +179,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;