diff options
Diffstat (limited to 'lib/kofficecore/KoDom.h')
-rw-r--r-- | lib/kofficecore/KoDom.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/kofficecore/KoDom.h b/lib/kofficecore/KoDom.h index 688110f0..a88cb22d 100644 --- a/lib/kofficecore/KoDom.h +++ b/lib/kofficecore/KoDom.h @@ -30,7 +30,7 @@ * * To find all child elements with a given name, use * TQDomElement e; - * forEachElement( e, tqparent ) + * forEachElement( e, parent ) * { * if ( e.localName() == "..." && e.namespaceURI() == KoXmlNS::... ) * { @@ -62,8 +62,8 @@ namespace KoDom { } -#define forEachElement( elem, tqparent ) \ - for ( TQDomNode _node = tqparent.firstChild(); !_node.isNull(); _node = _node.nextSibling() ) \ +#define forEachElement( elem, parent ) \ + for ( TQDomNode _node = parent.firstChild(); !_node.isNull(); _node = _node.nextSibling() ) \ if ( !( elem = _node.toElement() ).isNull() ) #endif /* KODOM_H */ |