diff options
author | Stef Walter <stef@memberwebs.com> | 2004-07-29 22:52:30 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2004-07-29 22:52:30 +0000 |
commit | 740d8a6bcb6521e188361befa7f5636c880bf63b (patch) | |
tree | f269a5d492d712be73d840fdefeb6ad247ee03db /src/domhelpers.h | |
parent | 0105af34f6977c51619bf1060e74e3c249932c68 (diff) |
- Moved to DOMC
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(); |