Skip to content
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.

Commit

Permalink
Remove unused CXmlElement::setComment method
Browse files Browse the repository at this point in the history
Signed-off-by: David Wagner <[email protected]>
  • Loading branch information
dawagner committed Apr 10, 2015
1 parent 466e0ea commit 8b18043
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions xmlserializer/XmlElement.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
1 change: 0 additions & 1 deletion xmlserializer/XmlElement.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8b18043

Please sign in to comment.