diff options
Diffstat (limited to 'src/translators/bibtexmlexporter.cpp')
-rw-r--r-- | src/translators/bibtexmlexporter.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/translators/bibtexmlexporter.cpp b/src/translators/bibtexmlexporter.cpp index 153fd3f..85934b2 100644 --- a/src/translators/bibtexmlexporter.cpp +++ b/src/translators/bibtexmlexporter.cpp @@ -99,7 +99,7 @@ bool BibtexmlExporter::exec() { StringSet usedKeys; TQString type, key, newKey, value, elemName, parElemName; - TQDomElement btElem, entryElem, tqparentElem, fieldElem; + TQDomElement btElem, entryElem, parentElem, fieldElem; for(Data::EntryVec::ConstIterator entryIt = entries().begin(); entryIt != entries().end(); ++entryIt) { key = entryIt->field(keyField); if(key.isEmpty()) { @@ -157,15 +157,15 @@ bool BibtexmlExporter::exec() { elemName = TQString::tqfromLatin1("keyword"); } - tqparentElem = dom.createElement(parElemName); + parentElem = dom.createElement(parElemName); const TQStringList values = entryIt->fields(field->name(), false); for(TQStringList::ConstIterator it = values.begin(); it != values.end(); ++it) { fieldElem = dom.createElement(elemName); fieldElem.appendChild(dom.createTextNode(*it)); - tqparentElem.appendChild(fieldElem); + parentElem.appendChild(fieldElem); } - if(tqparentElem.hasChildNodes()) { - entryElem.appendChild(tqparentElem); + if(parentElem.hasChildNodes()) { + entryElem.appendChild(parentElem); } } else { fieldElem = dom.createElement(elemName); |