aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Wagner <david.wagner@intel.com>2015-04-10 17:09:17 +0200
committerEric Laurent <elaurent@google.com>2015-04-24 13:39:13 -0700
commit4f61e3e85203974231c7f9a1567abccfcd75485c (patch)
treecf74a645a16dcae17a5ba0e704c1ee1db7d52ba3
parent9374f5b21a1770a42636da0171582aadce84d9ff (diff)
downloadexternal_parameter-framework-4f61e3e85203974231c7f9a1567abccfcd75485c.zip
external_parameter-framework-4f61e3e85203974231c7f9a1567abccfcd75485c.tar.gz
external_parameter-framework-4f61e3e85203974231c7f9a1567abccfcd75485c.tar.bz2
Remove unsued CElement::findAscendantOfKind method
Signed-off-by: David Wagner <david.wagner@intel.com>
-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