summaryrefslogtreecommitdiffstats
path: root/tdefile-plugins/dependencies/poppler-tqt/poppler-private.h
diff options
context:
space:
mode:
authorOBATA Akio <[email protected]>2019-01-14 17:33:41 +0900
committerOBATA Akio <[email protected]>2019-01-14 17:33:41 +0900
commit9d8dc2222029d2a644a8d86ccdd1f08fa05d01d0 (patch)
tree38e809794b319b9da32c5374a0b82d574cb6d9d3 /tdefile-plugins/dependencies/poppler-tqt/poppler-private.h
parentf47d27d00c97cffec8983d6f31b95b87d2f03f33 (diff)
downloadtdegraphics-9d8dc2222029d2a644a8d86ccdd1f08fa05d01d0.tar.gz
tdegraphics-9d8dc2222029d2a644a8d86ccdd1f08fa05d01d0.zip
Add support for Poppler >= 0.72
GooString::getCString was renamed to GooString::c_str. Signed-off-by: OBATA Akio <[email protected]>
Diffstat (limited to 'tdefile-plugins/dependencies/poppler-tqt/poppler-private.h')
-rw-r--r--tdefile-plugins/dependencies/poppler-tqt/poppler-private.h5
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 {