r19806 by jghali - allow pdf importer to build with poppler 0.31

scribus-commit scribus-commit at lists.scribus.net
Sun Feb 8 18:46:59 UTC 2015


Author: jghali
Date: Sun Feb  8 18:46:59 2015
New Revision: 19806

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19806
Log:
allow pdf importer to build with poppler 0.31
This is done by removing optional parameter in SplashOutputDev constructor call, optional parameter which is anyway set to gTrue by default. This optional parameter is present in poppler <= 0.30 but has disappeared in 0.31.

Modified:
    trunk/Scribus/scribus/plugins/import/pdf/importpdf.cpp

Modified: trunk/Scribus/scribus/plugins/import/pdf/importpdf.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19806&path=/trunk/Scribus/scribus/plugins/import/pdf/importpdf.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/import/pdf/importpdf.cpp (original)
+++ trunk/Scribus/scribus/plugins/import/pdf/importpdf.cpp Sun Feb  8 18:46:59 2015
@@ -98,7 +98,7 @@
 				bgColor[0] = 255;
 				bgColor[1] = 255;
 				bgColor[2] = 255;
-				SplashOutputDev *dev = new SplashOutputDev(splashModeXBGR8, 4, gFalse, bgColor, gTrue, gTrue);
+				SplashOutputDev *dev = new SplashOutputDev(splashModeXBGR8, 4, gFalse, bgColor, gTrue);
 				dev->setVectorAntialias(gTrue);
 				dev->setFreeTypeHinting(gTrue, gFalse);
 				dev->startDoc(pdfDoc);
@@ -907,7 +907,7 @@
 	bgColor[0] = 255;
 	bgColor[1] = 255;
 	bgColor[2] = 255;
-	SplashOutputDev *dev = new SplashOutputDev(splashModeXBGR8, 4, gFalse, bgColor, gTrue, gTrue);
+	SplashOutputDev *dev = new SplashOutputDev(splashModeXBGR8, 4, gFalse, bgColor, gTrue);
 	dev->setVectorAntialias(gTrue);
 	dev->setFreeTypeHinting(gTrue, gFalse);
 	dev->startDoc(m_pdfDoc);




More information about the scribus-commit mailing list