diff options
author | Timothy Pearson <[email protected]> | 2011-12-19 11:56:05 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-19 11:56:05 -0600 |
commit | 74c05bbf9d92e43a6cf3799355b5f3598884409e (patch) | |
tree | 9371e52e1564e08fd280f28e49981ffeb881b9d2 /kfile-plugins/dependencies/poppler-tqt/poppler-private.cc | |
parent | 45f529de247fc4b3662f6b474abe03fe904306ec (diff) | |
download | tdegraphics-74c05bbf9d92e43a6cf3799355b5f3598884409e.tar.gz tdegraphics-74c05bbf9d92e43a6cf3799355b5f3598884409e.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'kfile-plugins/dependencies/poppler-tqt/poppler-private.cc')
-rw-r--r-- | kfile-plugins/dependencies/poppler-tqt/poppler-private.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kfile-plugins/dependencies/poppler-tqt/poppler-private.cc b/kfile-plugins/dependencies/poppler-tqt/poppler-private.cc index 445417a2..9ba0fb9d 100644 --- a/kfile-plugins/dependencies/poppler-tqt/poppler-private.cc +++ b/kfile-plugins/dependencies/poppler-tqt/poppler-private.cc @@ -79,7 +79,7 @@ GooString *TQStringToGooString(const TQString &s) int len = s.length(); char *cstring = (char *)gmallocn(s.length(), sizeof(char)); for (int i = 0; i < len; ++i) - cstring[i] = s.tqat(i).tqunicode(); + cstring[i] = s.at(i).tqunicode(); GooString *ret = new GooString(cstring, len); gfree(cstring); return ret; @@ -136,11 +136,11 @@ void DocumentData::addTocChildren( TQDomDocument * docSyn, TQDomNode * parent, G } } - // 3. recursively descend over tqchildren + // 3. recursively descend over children outlineItem->open(); - GooList * tqchildren = outlineItem->getKids(); - if ( tqchildren ) - addTocChildren( docSyn, &item, tqchildren ); + GooList * children = outlineItem->getKids(); + if ( children ) + addTocChildren( docSyn, &item, children ); } } |