From bc3a7cf853510ffe1e42dc683f854d360f6528c7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 30 Nov 2015 13:59:45 +0300 Subject: Add pugixml backend incomplete. Add some defines for xml nodes manipulation. With pugixml backend no xml writing. --- src/gui/theme.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/theme.cpp') diff --git a/src/gui/theme.cpp b/src/gui/theme.cpp index 8a1eea3f3..d588ecdb3 100644 --- a/src/gui/theme.cpp +++ b/src/gui/theme.cpp @@ -1156,15 +1156,15 @@ ImageSet *Theme::getImageSetFromThemeXml(const std::string &name, #define readValue(name) \ info->name = reinterpret_cast(\ - xmlNodeGetContent(infoNode)) + XmlNodeGetContent(infoNode)) #define readIntValue(name) \ info->name = atoi(reinterpret_cast(\ - xmlNodeGetContent(infoNode))) + XmlNodeGetContent(infoNode))) #define readFloatValue(name) \ info->name = static_cast(atof(reinterpret_cast(\ - xmlNodeGetContent(infoNode)))) + XmlNodeGetContent(infoNode)))) ThemeInfo *Theme::loadInfo(const std::string &themeName) { -- cgit v1.2.3-70-g09d2