summaryrefslogtreecommitdiffstats
path: root/kfile-plugins/dependencies/poppler-tqt/poppler-private.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:56:05 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-03 19:30:03 +0200
commit5027dfec5092217f70492dd6712059e46b21d003 (patch)
tree7e5874391acf3098475adda80fe2b068a00e304c /kfile-plugins/dependencies/poppler-tqt/poppler-private.cc
parenta84302cc767bcabbf01b8c76f61419f4a2ab4ff0 (diff)
downloadtdegraphics-5027dfec5092217f70492dd6712059e46b21d003.tar.gz
tdegraphics-5027dfec5092217f70492dd6712059e46b21d003.zip
Remove additional unneeded tq method conversions
(cherry picked from commit 74c05bbf9d92e43a6cf3799355b5f3598884409e)
Diffstat (limited to 'kfile-plugins/dependencies/poppler-tqt/poppler-private.cc')
-rw-r--r--kfile-plugins/dependencies/poppler-tqt/poppler-private.cc10
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 );
}
}