aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--parameter/Element.cpp14
-rw-r--r--parameter/Element.h1
2 files changed, 0 insertions, 15 deletions
diff --git a/parameter/Element.cpp b/parameter/Element.cpp
index 9641e92..cacf49b 100644
--- a/parameter/Element.cpp
+++ b/parameter/Element.cpp
@@ -591,20 +591,6 @@ bool CElement::isDescendantOf(const CElement* pCandidateAscendant) const
return _pParent->isDescendantOf(pCandidateAscendant);
}
-CElement* CElement::findAscendantOfKind(const string& strKind)
-{
- if (!_pParent) {
-
- return NULL;
- }
-
- if (_pParent->getKind() == strKind) {
-
- return _pParent;
- }
- return _pParent->findAscendantOfKind(strKind);
-}
-
CElement* CElement::findChild(const string& strName)
{
uint32_t uiIndex;
diff --git a/parameter/Element.h b/parameter/Element.h
index ebb33a3..8423e32 100644
--- a/parameter/Element.h
+++ b/parameter/Element.h
@@ -152,7 +152,6 @@ protected:
// Hierarchy
CElement* getParent();
- CElement* findAscendantOfKind(const std::string& strKind);
/**
* Creates a child CElement from a child XML Element