summaryrefslogtreecommitdiff
path: root/src/domhelpers.cpp
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2004-07-27 21:22:58 +0000
committerStef Walter <stef@memberwebs.com>2004-07-27 21:22:58 +0000
commitd2105fb3fb2082bb32875eaab6db6a2c04c7eae5 (patch)
treeb7773e478bc4bc1279f32497371bce9ceccd5d72 /src/domhelpers.cpp
parent6dd9754bb73589abb7d55186f8ec15d67d91b70d (diff)
- Preserve mode
- Document options - Font fixes
Diffstat (limited to 'src/domhelpers.cpp')
-rw-r--r--src/domhelpers.cpp14
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;