diff options
Diffstat (limited to 'lib/kofficecore/KoXmlReader.h')
-rw-r--r-- | lib/kofficecore/KoXmlReader.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/kofficecore/KoXmlReader.h b/lib/kofficecore/KoXmlReader.h index d4505398..cdce2938 100644 --- a/lib/kofficecore/KoXmlReader.h +++ b/lib/kofficecore/KoXmlReader.h @@ -54,7 +54,7 @@ class KoXmlNodeData; * KoXmlNode is a base class for KoXmlElement, KoXmlText. * Often, these subclasses are used for getting the data instead of KoXmlNode. * However, as base class, KoXmlNode is very helpful when for example iterating - * all child nodes within one tqparent node. + * all child nodes within one parent node. * * KoXmlNode implements an explicit sharing, a node shares its data with * other copies (if exist). @@ -267,7 +267,7 @@ private: * * To find all child elements with a given name, use * TQDomElement e; - * forEachElement( e, tqparent ) + * forEachElement( e, parent ) * { * if ( e.localName() == "..." && e.namespaceURI() == KoXmlNS::... ) * { @@ -312,8 +312,8 @@ namespace KoXml { } -#define forEachElement( elem, tqparent ) \ - for ( KoXmlNode _node = tqparent.firstChild(); !_node.isNull(); _node = _node.nextSibling() ) \ +#define forEachElement( elem, parent ) \ + for ( KoXmlNode _node = parent.firstChild(); !_node.isNull(); _node = _node.nextSibling() ) \ if ( !( elem = _node.toElement() ).isNull() ) |