summaryrefslogtreecommitdiffstats
path: root/lib/kofficecore/KoDom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kofficecore/KoDom.cpp')
-rw-r--r--lib/kofficecore/KoDom.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/kofficecore/KoDom.cpp b/lib/kofficecore/KoDom.cpp
index 45b00acdc..72151c103 100644
--- a/lib/kofficecore/KoDom.cpp
+++ b/lib/kofficecore/KoDom.cpp
@@ -19,12 +19,12 @@
#include "KoDom.h"
-QDomElement KoDom::namedItemNS( const QDomNode& node, const char* nsURI, const char* localName )
+TQDomElement KoDom::namedItemNS( const TQDomNode& node, const char* nsURI, const char* localName )
{
- QDomNode n = node.firstChild();
+ TQDomNode n = node.firstChild();
for ( ; !n.isNull(); n = n.nextSibling() ) {
if ( n.isElement() && n.localName() == localName && n.namespaceURI() == nsURI )
return n.toElement();
}
- return QDomElement();
+ return TQDomElement();
}