diff options
Diffstat (limited to 'src/domhelpers.h')
-rw-r--r-- | src/domhelpers.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/domhelpers.h b/src/domhelpers.h index 8b14e2b..2c29da0 100644 --- a/src/domhelpers.h +++ b/src/domhelpers.h @@ -39,7 +39,7 @@ #ifndef __DOMHELPERS_H__ #define __DOMHELPERS_H__ -#include "sablo.h" +#include "domcxx.h" #include <map> #include <stack> #include <set> @@ -86,14 +86,14 @@ public: * things like fonts, styles, lists from their definitions. */ class ElementTable : - public std::map<wstring, DOM::Element> + public std::map<string, DOM::Element> { public: void load(const DOM::Node& parent, const string& name); - DOM::Element get(const wstring& id) const; + DOM::Element get(const string& id) const; - bool has(const wstring& id) const + bool has(const string& id) const { return find(id) != end(); } void removeIds(); |