diff options
author | Stef Walter <stef@memberwebs.com> | 2004-07-27 21:22:58 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2004-07-27 21:22:58 +0000 |
commit | d2105fb3fb2082bb32875eaab6db6a2c04c7eae5 (patch) | |
tree | b7773e478bc4bc1279f32497371bce9ceccd5d72 /src/domhelpers.cpp | |
parent | 6dd9754bb73589abb7d55186f8ec15d67d91b70d (diff) |
- Preserve mode
- Document options
- Font fixes
Diffstat (limited to 'src/domhelpers.cpp')
-rw-r--r-- | src/domhelpers.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/domhelpers.cpp b/src/domhelpers.cpp index 038e2df..4836d17 100644 --- a/src/domhelpers.cpp +++ b/src/domhelpers.cpp @@ -191,20 +191,6 @@ DOM::Element DOMHelpers::findChildElement(const DOM::Node& parent, const string& return DOM::Element(); } -DOM::Element DOMHelpers::findDescendantElement(const DOM::Node& parent, const string& name) -{ - DOM::Node child = parent.getFirstChild(); - while(child != NULL) - { - if(isElement(child, name)) - return (DOM::Element&)child; - - child = child.getNextSibling(); - } - - return DOM::Element(); -} - bool DOMHelpers::hasAncestor(const DOM::Node& ancestor, const DOM::Node& node) { DOM::Node n = node; |