diff options
author | Timothy Pearson <[email protected]> | 2012-06-25 16:17:49 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-06-25 16:17:49 -0500 |
commit | 30b1d13fab1ee5214fd838db8417930bd76bc24b (patch) | |
tree | dac0c77a9224e37a65fe428d702f8d44c22c9288 /kfile-plugins/dependencies/poppler-tqt/poppler-document.cc | |
parent | 44d1a52bf8b9bf70433107446ec20dfe05b198fb (diff) | |
download | tdegraphics-30b1d13fab1ee5214fd838db8417930bd76bc24b.tar.gz tdegraphics-30b1d13fab1ee5214fd838db8417930bd76bc24b.zip |
Fix FTBFS on older poppler versions
Diffstat (limited to 'kfile-plugins/dependencies/poppler-tqt/poppler-document.cc')
-rw-r--r-- | kfile-plugins/dependencies/poppler-tqt/poppler-document.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kfile-plugins/dependencies/poppler-tqt/poppler-document.cc b/kfile-plugins/dependencies/poppler-tqt/poppler-document.cc index 0856d83f..2e7cc516 100644 --- a/kfile-plugins/dependencies/poppler-tqt/poppler-document.cc +++ b/kfile-plugins/dependencies/poppler-tqt/poppler-document.cc @@ -317,9 +317,9 @@ bool Document::print(const TQString &fileName, TQValueList<int> pageList, double bool Document::print(const TQString &file, TQValueList<int> pageList, double hDPI, double vDPI, int rotate, int paperWidth, int paperHeight) { -#ifdef HAVE_POPPLER_020 +#if defined(HAVE_POPPLER_020) PSOutputDev *psOut = new PSOutputDev(file.latin1(), &(data->doc), NULL, 1, data->doc.getNumPages(), psModePS, paperWidth, paperHeight); -#elif HAVE_POPPLER_016 +#elif defined(HAVE_POPPLER_016) PSOutputDev *psOut = new PSOutputDev(file.latin1(), &(data->doc), data->doc.getXRef(), data->doc.getCatalog(), NULL, 1, data->doc.getNumPages(), psModePS, paperWidth, paperHeight); #else PSOutputDev *psOut = new PSOutputDev(file.latin1(), data->doc.getXRef(), data->doc.getCatalog(), NULL, 1, data->doc.getNumPages(), psModePS, paperWidth, paperHeight); |