From ef1c51a552368aabbee17c2faf16348b6ee873be Mon Sep 17 00:00:00 2001 From: David Wagner Date: Fri, 10 Apr 2015 18:17:05 +0200 Subject: Remove unused CXmlElement::setComment method Signed-off-by: David Wagner --- xmlserializer/XmlElement.cpp | 5 ----- xmlserializer/XmlElement.h | 1 - 2 files changed, 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 -- cgit v1.1