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-private.h | |
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-private.h')
-rw-r--r-- | tdefile-plugins/dependencies/poppler-tqt/poppler-private.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tdefile-plugins/dependencies/poppler-tqt/poppler-private.h b/tdefile-plugins/dependencies/poppler-tqt/poppler-private.h index a98eb22e..74a22596 100644 --- a/tdefile-plugins/dependencies/poppler-tqt/poppler-private.h +++ b/tdefile-plugins/dependencies/poppler-tqt/poppler-private.h @@ -44,6 +44,11 @@ class SplashOutputDev; #define gTrue true #define gFalse false #endif +#if defined(HAVE_POPPLER_072) +#define GOO_GET_CSTR c_str +#else +#define GOO_GET_CSTR getCString +#endif namespace Poppler { |