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:14 +0100
commit8cf503a6f85234943733d2ca59505898e97053fe (patch)
treeab5ad3d0a637fc095ae4e7daa49c55c2a9bf0167 /tdefile-plugins/dependencies/poppler-tqt/poppler-page.cc
parentb5325701e2f51887edabf427bc9b544486860c56 (diff)
downloadtdegraphics-8cf503a6f85234943733d2ca59505898e97053fe.tar.gz
tdegraphics-8cf503a6f85234943733d2ca59505898e97053fe.zip
Add support for poppler 0.30
Signed-off-by: Slávek Banko <[email protected]>
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);