summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Wagner <david.wagner@intel.com>2015-04-10 18:17:05 +0200
committerEric Laurent <elaurent@google.com>2015-04-24 13:39:13 -0700
commitef1c51a552368aabbee17c2faf16348b6ee873be (patch)
tree58b5d11136578b331ec2007017dca9445607aee1
parent4f61e3e85203974231c7f9a1567abccfcd75485c (diff)
downloadexternal_parameter-framework-ef1c51a552368aabbee17c2faf16348b6ee873be.zip
external_parameter-framework-ef1c51a552368aabbee17c2faf16348b6ee873be.tar.gz
external_parameter-framework-ef1c51a552368aabbee17c2faf16348b6ee873be.tar.bz2
Remove unused CXmlElement::setComment method
Signed-off-by: David Wagner <david.wagner@intel.com>
-rw-r--r--xmlserializer/XmlElement.cpp5
-rw-r--r--xmlserializer/XmlElement.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/xmlserializer/XmlElement.cpp b/xmlserializer/XmlElement.cpp
index 8f86c77..425e041 100644
--- a/xmlserializer/XmlElement.cpp
+++ b/xmlserializer/XmlElement.cpp
@@ -238,11 +238,6 @@ void CXmlElement::setTextContent(const string& strContent)
xmlAddChild(_pXmlElement, xmlNewText(BAD_CAST strContent.c_str()));
}
-void CXmlElement::setComment(const string& strComment)
-{
- xmlAddChild(_pXmlElement, xmlNewComment(BAD_CAST strComment.c_str()));
-}
-
// Child creation
void CXmlElement::createChild(CXmlElement& childElement, const string& strType)
{
diff --git a/xmlserializer/XmlElement.h b/xmlserializer/XmlElement.h
index 4673be4..afa8438 100644
--- a/xmlserializer/XmlElement.h
+++ b/xmlserializer/XmlElement.h
@@ -69,7 +69,6 @@ public:
void setAttributeString(const std::string& strAttributeName, const std::string& strValue);
void setNameAttribute(const std::string& strValue);
void setTextContent(const std::string& strContent);
- void setComment(const std::string& strComment);
void setAttributeInteger(const std::string& strAttributeName, uint32_t uiValue);
/**
* Set attribute with signed integer