summaryrefslogtreecommitdiff
path: root/filter/pdftoopvp/oprs/OPRS.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'filter/pdftoopvp/oprs/OPRS.cxx')
-rw-r--r--filter/pdftoopvp/oprs/OPRS.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/filter/pdftoopvp/oprs/OPRS.cxx b/filter/pdftoopvp/oprs/OPRS.cxx
index 15710c110..f22fdff37 100644
--- a/filter/pdftoopvp/oprs/OPRS.cxx
+++ b/filter/pdftoopvp/oprs/OPRS.cxx
@@ -240,8 +240,10 @@ SplashError OPRS::drawImage(SplashImageSource src, void *srcData,
if (rasterMode) {
#if POPPLER_VERSION_MAJOR <= 0 && (POPPLER_VERSION_MINOR <= 20 || (POPPLER_VERSION_MINOR == 21 && POPPLER_VERSION_MICRO <= 2))
return splash->drawImage(src,srcData,srcMode,srcAlpha,w,h,mat);
-#else
+#elif POPPLER_VERSION_MAJOR <= 0 && POPPLER_VERSION_MINOR <= 33
return splash->drawImage(src,srcData,srcMode,srcAlpha,w,h,mat,gFalse);
+#else
+ return splash->drawImage(src,0,srcData,srcMode,srcAlpha,w,h,mat,gFalse);
#endif
} else {
return opvpSplash->drawImage(src,srcData,srcMode,srcAlpha,w,h,mat);