summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/configuration.cpp4
-rw-r--r--src/configuration.h2
-rw-r--r--src/utils/xml.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/configuration.cpp b/src/configuration.cpp
index b3d5d77d0..39e0c75d4 100644
--- a/src/configuration.cpp
+++ b/src/configuration.cpp
@@ -500,7 +500,7 @@ void Configuration::init(const std::string &filename, bool useResManager)
initFromXML(rootNode);
}
-void ConfigurationObject::writeToXML(xmlTextWriterPtr writer)
+void ConfigurationObject::writeToXML(XmlTextWriterPtr writer)
{
for (Options::const_iterator i = mOptions.begin(), i_end = mOptions.end();
i != i_end; ++i)
@@ -551,7 +551,7 @@ void Configuration::write()
fclose(testFile);
}
- xmlTextWriterPtr writer = xmlNewTextWriterFilename(mConfigPath.c_str(), 0);
+ XmlTextWriterPtr writer = xmlNewTextWriterFilename(mConfigPath.c_str(), 0);
if (!writer)
{
diff --git a/src/configuration.h b/src/configuration.h
index 55e588964..2a84588f6 100644
--- a/src/configuration.h
+++ b/src/configuration.h
@@ -194,7 +194,7 @@ class ConfigurationObject
protected:
virtual void initFromXML(XmlNodePtr node);
- virtual void writeToXML(xmlTextWriterPtr writer);
+ virtual void writeToXML(XmlTextWriterPtr writer);
void deleteList(const std::string &name);
diff --git a/src/utils/xml.h b/src/utils/xml.h
index 821ee2de4..f623fa618 100644
--- a/src/utils/xml.h
+++ b/src/utils/xml.h
@@ -30,8 +30,8 @@
#include <string>
#define XmlNodePtr xmlNodePtr
-
#define xmlNameEqual(node, str) xmlStrEqual((node)->name, BAD_CAST (str))
+#define XmlTextWriterPtr xmlTextWriterPtr
/**
* XML helper functions.