diff --git a/xmlserializer/XmlElement.cpp b/xmlserializer/XmlElement.cpp index 8f86c770e..425e04104 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 4673be4ff..afa84386f 100644 --- a/xmlserializer/XmlElement.h +++ b/xmlserializer/XmlElement.h @@ -69,7 +69,6 @@ class CXmlElement 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