summaryrefslogtreecommitdiffstats
path: root/xmlserializer
diff options
context:
space:
mode:
Diffstat (limited to 'xmlserializer')
-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