summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2013-08-20 17:14:50 +0200
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2013-08-20 17:14:50 +0200
commit0a74847e5d533ea2e5773387a171b96e5885c51e (patch)
tree8eeaa1b14b1c47f0461839deac84e027bf113714 /sdext
parentd2ed00f711d71cd2efe87e19dadfb0b413a7b5fe (diff)
also adjust for poppler 0.24
Change-Id: I177cc28ec357ec5f88bb1efae1928eb120dcd9f2
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx2
-rw-r--r--sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
index 9d9b8413e7ab..a840f03576d7 100644
--- a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
+++ b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
@@ -492,7 +492,7 @@ PDFOutDev::~PDFOutDev()
}
void PDFOutDev::startPage(int /*pageNum*/, GfxState* state
-#if POPPLER_CHECK_VERSION(0, 23, 0)
+#if POPPLER_CHECK_VERSION(0, 23, 0) || POPPLER_CHECK_VERSION(0, 24, 0)
, XRef* /*xref*/
#endif
)
diff --git a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx
index 4fff4b96ac92..6088387b1393 100644
--- a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx
+++ b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx
@@ -171,7 +171,7 @@ namespace pdfi
// Start a page.
virtual void startPage(int pageNum, GfxState *state
-#if POPPLER_CHECK_VERSION(0, 23, 0)
+#if POPPLER_CHECK_VERSION(0, 23, 0) || POPPLER_CHECK_VERSION(0, 24, 0)
, XRef *xref
#endif
) SAL_OVERRIDE;