r23594 by jghali - Fix compilation with older poppler versions (< 0.70)

scribus-commit scribus-commit at lists.scribus.net
Sat Apr 11 19:31:50 UTC 2020


Author: jghali
Date: Sat Apr 11 19:31:49 2020
New Revision: 23594

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23594
Log:
Fix compilation with older poppler versions (< 0.70)

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

Modified: trunk/Scribus/scribus/plugins/import/pdf/slaoutput.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23594&path=/trunk/Scribus/scribus/plugins/import/pdf/slaoutput.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/import/pdf/slaoutput.cpp	(original)
+++ trunk/Scribus/scribus/plugins/import/pdf/slaoutput.cpp	Sat Apr 11 19:31:49 2020
@@ -2541,7 +2541,7 @@
 	QImage res = image->convertToFormat(QImage::Format_ARGB32);
 
 	int matteRc, matteGc, matteBc;
-	const GfxColor *matteColor = maskColorMap->getMatteColor();
+	POPPLER_CONST_070 GfxColor *matteColor = maskColorMap->getMatteColor();
 	if (matteColor != nullptr)
 	{
 		GfxRGB matteRgb;




More information about the scribus-commit mailing list