diff options
author | Ray Vine <[email protected]> | 2018-09-08 14:23:15 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2018-09-08 14:24:28 +0200 |
commit | 594387b4f345169662031732f2c9495d297be17d (patch) | |
tree | ca76e24a99e55989b5907a8fda5ffddf30698a46 /tdefile-plugins/dependencies/poppler-tqt/poppler-page.cc | |
parent | ff75de8dce03a0a08d2d9fcf2e46ddaa9a1504f6 (diff) | |
download | tdegraphics-594387b4f345169662031732f2c9495d297be17d.tar.gz tdegraphics-594387b4f345169662031732f2c9495d297be17d.zip |
Change the poppler test from 0.60 to 0.58
because the relevant code changes are related to 0.58
Signed-off-by: Ray Vine <[email protected]>
Diffstat (limited to 'tdefile-plugins/dependencies/poppler-tqt/poppler-page.cc')
-rw-r--r-- | tdefile-plugins/dependencies/poppler-tqt/poppler-page.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tdefile-plugins/dependencies/poppler-tqt/poppler-page.cc b/tdefile-plugins/dependencies/poppler-tqt/poppler-page.cc index 3c6bafca..45ea5b74 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_060) || defined(HAVE_POPPLER_030) || defined(HAVE_POPPLER_020) +#if defined(HAVE_POPPLER_058) || 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_060) || defined(HAVE_POPPLER_030) || defined(HAVE_POPPLER_020) +#if defined(HAVE_POPPLER_058) || 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); @@ -205,14 +205,14 @@ PageTransition *Page::getTransition() const { Object o; PageTransitionParams params; -# if defined(HAVE_POPPLER_060) +# if defined(HAVE_POPPLER_058) o = data->doc->data->doc.getCatalog()->getPage(data->index + 1)->getTrans(); # else data->doc->data->doc.getCatalog()->getPage(data->index + 1)->getTrans(&o); # endif params.dictObj = &o; data->transition = new PageTransition(params); -# if !defined(HAVE_POPPLER_060) +# if !defined(HAVE_POPPLER_058) o.free(); # endif } |