diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-01-18 17:17:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-01-18 17:17:59 +0300 |
commit | b257d71a41b0662db3b954e44ba9bfca2fb6c6cc (patch) | |
tree | 7d4f6b5a62e036da845fbd2fcfc4c02384faaaba /src/configuration.cpp | |
parent | 65411e9bb86d97e33dce3f445f66faca178e35d2 (diff) | |
download | manaverse-b257d71a41b0662db3b954e44ba9bfca2fb6c6cc.tar.gz manaverse-b257d71a41b0662db3b954e44ba9bfca2fb6c6cc.tar.bz2 manaverse-b257d71a41b0662db3b954e44ba9bfca2fb6c6cc.tar.xz manaverse-b257d71a41b0662db3b954e44ba9bfca2fb6c6cc.zip |
Add macro XmlTextWriterEndElement.
Diffstat (limited to 'src/configuration.cpp')
-rw-r--r-- | src/configuration.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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<std::string, ConfigurationList>::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); } } |