diff options
Diffstat (limited to 'tools/kfile-plugins/ooo/kfile_ooo.cpp')
| -rw-r--r-- | tools/kfile-plugins/ooo/kfile_ooo.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/kfile-plugins/ooo/kfile_ooo.cpp b/tools/kfile-plugins/ooo/kfile_ooo.cpp index ee3a5bcc1..8d72d0761 100644 --- a/tools/kfile-plugins/ooo/kfile_ooo.cpp +++ b/tools/kfile-plugins/ooo/kfile_ooo.cpp @@ -361,22 +361,22 @@ void KOfficePlugin::addAttributeInfo(const TQDomElement & elem, KFileMetaInfoGro } bool KOfficePlugin::writeTextNode(TQDomDocument & doc, - TQDomNode & tqparentNode, + TQDomNode & parentNode, const TQString &nodeName, const TQString &value) const { - if (tqparentNode.toElement().isNull()){ + if (parentNode.toElement().isNull()){ kdDebug(7034) << "Parent node is Null or not an Element, cannot write node " << nodeName << endl; return false; } // If the node does not exist, we create it... - if (tqparentNode.namedItem(nodeName).isNull()) - TQDomNode ex = tqparentNode.appendChild(doc.createElement(nodeName)); + if (parentNode.namedItem(nodeName).isNull()) + TQDomNode ex = parentNode.appendChild(doc.createElement(nodeName)); // Now, we are sure we have a node - TQDomElement nodeA = tqparentNode.namedItem(nodeName).toElement(); + TQDomElement nodeA = parentNode.namedItem(nodeName).toElement(); // Ooops... existing node were not of the good type... if (nodeA.isNull()){ |
