From b257d71a41b0662db3b954e44ba9bfca2fb6c6cc Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 18 Jan 2016 17:17:59 +0300 Subject: Add macro XmlTextWriterEndElement. --- src/configuration.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/configuration.cpp') diff --git a/src/configuration.cpp b/src/configuration.cpp index cbe392f45..fcc6bfbdf 100644 --- a/src/configuration.cpp +++ b/src/configuration.cpp @@ -800,7 +800,7 @@ void ConfigurationObject::writeToXML(const XmlTextWriterPtr writer) XmlTextWriterStartElement(writer, "option"); XmlTextWriterWriteAttribute(writer, "name", i->first.c_str()); XmlTextWriterWriteAttribute(writer, "value", i->second.c_str()); - xmlTextWriterEndElement(writer); + XmlTextWriterEndElement(writer); } for (std::map::const_iterator @@ -818,10 +818,10 @@ void ConfigurationObject::writeToXML(const XmlTextWriterPtr writer) XmlTextWriterStartElement(writer, name); if (*elt_it) (*elt_it)->writeToXML(writer); - xmlTextWriterEndElement(writer); + XmlTextWriterEndElement(writer); } - xmlTextWriterEndElement(writer); + XmlTextWriterEndElement(writer); } } -- cgit v1.2.3-70-g09d2