diff options
Diffstat (limited to 'tools/kfile-plugins')
-rw-r--r-- | tools/kfile-plugins/ooo/kfile_ooo.cpp | 10 | ||||
-rw-r--r-- | tools/kfile-plugins/ooo/kfile_ooo.h | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/tools/kfile-plugins/ooo/kfile_ooo.cpp b/tools/kfile-plugins/ooo/kfile_ooo.cpp index ee3a5bcc..8d72d076 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()){ diff --git a/tools/kfile-plugins/ooo/kfile_ooo.h b/tools/kfile-plugins/ooo/kfile_ooo.h index 9c2c3213..b8604260 100644 --- a/tools/kfile-plugins/ooo/kfile_ooo.h +++ b/tools/kfile-plugins/ooo/kfile_ooo.h @@ -59,7 +59,7 @@ public: const char* name) const; private: bool writeTextNode(TQDomDocument & doc, - TQDomNode & tqparentNode, + TQDomNode & parentNode, const TQString &nodeName, const TQString &value) const; KFileMimeTypeInfo::GroupInfo* userdefined; |