diff options
-rwxr-xr-x | parameter/Element.cpp | 18 | ||||
-rw-r--r-- | parameter/Element.h | 2 |
2 files changed, 0 insertions, 20 deletions
diff --git a/parameter/Element.cpp b/parameter/Element.cpp index 4ccf149..0175084 100755 --- a/parameter/Element.cpp +++ b/parameter/Element.cpp @@ -682,24 +682,6 @@ const CElement* CElement::findChildOfKind(const string& strKind) const return NULL; } -CElement* CElement::getRoot() -{ - if (!_pParent) { - - return this; - } - return _pParent->getRoot(); -} - -const CElement* CElement::getRoot() const -{ - if (!_pParent) { - - return this; - } - return _pParent->getRoot(); -} - string CElement::getPath() const { // Take out root element from the path diff --git a/parameter/Element.h b/parameter/Element.h index 4636dbd..fb5faee 100644 --- a/parameter/Element.h +++ b/parameter/Element.h @@ -135,8 +135,6 @@ protected: CElement* getLastChild(); CElement* getParent(); CElement* findAscendantOfKind(const std::string& strKind); - CElement* getRoot(); - const CElement* getRoot() const; /** * Creates a child CElement from a child XML Element |