diff options
author | OBATA Akio <[email protected]> | 2019-01-14 17:33:41 +0900 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2019-01-20 03:48:52 +0100 |
commit | 2b3cfb41231b4172c7f64e984395d56653927ee0 (patch) | |
tree | c0ca02c4808c460078bceac8bca9b71a9e9a62fb /tdefile-plugins/dependencies/poppler-tqt/poppler-document.cc | |
parent | 11532d48b2fccf95810c0be02482c16a1886d316 (diff) | |
download | tdegraphics-2b3cfb41231b4172c7f64e984395d56653927ee0.tar.gz tdegraphics-2b3cfb41231b4172c7f64e984395d56653927ee0.zip |
Add support for Poppler >= 0.72
GooString::getCString was renamed to GooString::c_str.
Signed-off-by: OBATA Akio <[email protected]>
(cherry picked from commit 9d8dc2222029d2a644a8d86ccdd1f08fa05d01d0)
Diffstat (limited to 'tdefile-plugins/dependencies/poppler-tqt/poppler-document.cc')
-rw-r--r-- | tdefile-plugins/dependencies/poppler-tqt/poppler-document.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tdefile-plugins/dependencies/poppler-tqt/poppler-document.cc b/tdefile-plugins/dependencies/poppler-tqt/poppler-document.cc index f05816df..74e22913 100644 --- a/tdefile-plugins/dependencies/poppler-tqt/poppler-document.cc +++ b/tdefile-plugins/dependencies/poppler-tqt/poppler-document.cc @@ -135,7 +135,7 @@ bool Document::scanForFonts( int numPages, TQValueList<FontInfo> *fontList ) con for ( int i = 0; i < items->getLength(); ++i ) { TQString fontName; if (((::FontInfo*)items->get(i))->getName()) - fontName = ((::FontInfo*)items->get(i))->getName()->getCString(); + fontName = ((::FontInfo*)items->get(i))->getName()->GOO_GET_CSTR(); FontInfo font(fontName, ((::FontInfo*)items->get(i))->getEmbedded(), |