summaryrefslogtreecommitdiff
path: root/splash
diff options
context:
space:
mode:
authorAdrian Johnson <ajohnson@redneon.com>2012-12-02 09:34:35 +1030
committerAdrian Johnson <ajohnson@redneon.com>2012-12-09 09:00:19 +1030
commitf6741d9242bf2d9c13c8d534c50c8e4d404afc7f (patch)
treeb3fd669d18ea3f9a93faabd32129eed271177ee0 /splash
parente78dbb1b7dbd20c3ae547b02270ab0648c1bfc61 (diff)
jpegwriter: move #include "jpeglib.h" into .cc file
On cygwin pdftocairo -v shows the wrong version due to jpeglib.h defining PACKAGE_VERSION. Avoid polluting our header files by moving libjpeg.h and libjpeg types into JpegWriter.cc Bug 57687
Diffstat (limited to 'splash')
-rw-r--r--splash/SplashBitmap.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/splash/SplashBitmap.cc b/splash/SplashBitmap.cc
index ca1dee7b..93d2da8a 100644
--- a/splash/SplashBitmap.cc
+++ b/splash/SplashBitmap.cc
@@ -363,7 +363,7 @@ SplashError SplashBitmap::writeImgFile(SplashImageFileFormat format, FILE *f, in
#ifdef ENABLE_LIBJPEG
#ifdef SPLASH_CMYK
case splashFormatJpegCMYK:
- writer = new JpegWriter(JCS_CMYK);
+ writer = new JpegWriter(JpegWriter::CMYK);
break;
#endif
case splashFormatJpeg: