diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-31 19:57:25 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-31 19:57:25 +0000 |
commit | 1f42a5796ab9393d147b7478daa31b42ce07826d (patch) | |
tree | f125b3104dc7f781bcfc3ee57cf952deb6a00b2d /kfile-plugins/dependencies/poppler-tqt/poppler-document.cc | |
parent | f894196abacde45a82e552c1bc6e5cfdf5b75c4b (diff) | |
download | tdegraphics-1f42a5796ab9393d147b7478daa31b42ce07826d.tar.gz tdegraphics-1f42a5796ab9393d147b7478daa31b42ce07826d.zip |
Fix kdegraphics poppler >=0.16 detection
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1244223 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kfile-plugins/dependencies/poppler-tqt/poppler-document.cc')
-rw-r--r-- | kfile-plugins/dependencies/poppler-tqt/poppler-document.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kfile-plugins/dependencies/poppler-tqt/poppler-document.cc b/kfile-plugins/dependencies/poppler-tqt/poppler-document.cc index 93d5a49c..5fe6ea28 100644 --- a/kfile-plugins/dependencies/poppler-tqt/poppler-document.cc +++ b/kfile-plugins/dependencies/poppler-tqt/poppler-document.cc @@ -19,6 +19,7 @@ * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ +#include <config.h> #include <poppler-qt.h> #include <tqfile.h> #include <GlobalParams.h> @@ -316,7 +317,7 @@ 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 POPPLER_016 +#ifdef 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); |