summaryrefslogtreecommitdiffstats
path: root/tdefile-plugins/dependencies/poppler-tqt/poppler-page.cc
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2015-01-29 19:18:14 +0100
committerSlávek Banko <[email protected]>2015-01-29 19:18:28 +0100
commitc5814e9e4ed980abe663804e6b2bfeb55b8cad26 (patch)
treeab5ad3d0a637fc095ae4e7daa49c55c2a9bf0167 /tdefile-plugins/dependencies/poppler-tqt/poppler-page.cc
parent089caba3647a01874638cd1e3a2c1b039157186c (diff)
downloadtdegraphics-c5814e9e4ed980abe663804e6b2bfeb55b8cad26.tar.gz
tdegraphics-c5814e9e4ed980abe663804e6b2bfeb55b8cad26.zip
Add support for poppler 0.30
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 8cf503a6f85234943733d2ca59505898e97053fe)
Diffstat (limited to 'tdefile-plugins/dependencies/poppler-tqt/poppler-page.cc')
-rw-r--r--tdefile-plugins/dependencies/poppler-tqt/poppler-page.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdefile-plugins/dependencies/poppler-tqt/poppler-page.cc b/tdefile-plugins/dependencies/poppler-tqt/poppler-page.cc
index 3d1e6569..2c6a5f0e 100644
--- a/tdefile-plugins/dependencies/poppler-tqt/poppler-page.cc
+++ b/tdefile-plugins/dependencies/poppler-tqt/poppler-page.cc
@@ -129,7 +129,7 @@ TQString Page::getText(const Rectangle &r) const
TQString result;
::Page *p;
-#if defined(HAVE_POPPLER_020)
+#if defined(HAVE_POPPLER_030) || defined(HAVE_POPPLER_020)
output_dev = new TextOutputDev(0, gFalse, 0, gFalse, gFalse);
#else
output_dev = new TextOutputDev(0, gFalse, gFalse, gFalse);
@@ -164,7 +164,7 @@ TQValueList<TextBox*> Page::textList() const
TQValueList<TextBox*> output_list;
-#if defined(HAVE_POPPLER_020)
+#if defined(HAVE_POPPLER_030) || defined(HAVE_POPPLER_020)
output_dev = new TextOutputDev(0, gFalse, 0, gFalse, gFalse);
#else
output_dev = new TextOutputDev(0, gFalse, gFalse, gFalse);