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.cpp | |
parent | 0105af34f6977c51619bf1060e74e3c249932c68 (diff) |
- Moved to DOMC
Diffstat (limited to 'src/domhelpers.cpp')
-rw-r--r-- | src/domhelpers.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/domhelpers.cpp b/src/domhelpers.cpp index 9a9cfd2..d2b3b8b 100644 --- a/src/domhelpers.cpp +++ b/src/domhelpers.cpp @@ -221,7 +221,7 @@ void ElementTable::load(const DOM::Node& parent, const string& name) if(DOMHelpers::isElement(child, name)) { DOM::Element& el = (DOM::Element&)child; - wstring id = el.getAttribute(kAtId); + string id = el.getAttribute(kAtId); if(!id.empty()) insert(make_pair(id, el)); @@ -231,7 +231,7 @@ void ElementTable::load(const DOM::Node& parent, const string& name) } } -DOM::Element ElementTable::get(const wstring& id) const +DOM::Element ElementTable::get(const string& id) const { const_iterator it = find(id); return it == end() ? DOM::Element() : it->second; |