r22989 by jghali - Fix potential use of uninitialized values in SlaOutputDev

scribus-commit scribus-commit at lists.scribus.net
Thu May 30 16:05:23 UTC 2019


Author: jghali
Date: Thu May 30 16:05:22 2019
New Revision: 22989

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22989
Log:
Fix potential use of uninitialized values in SlaOutputDev

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=22989&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	Thu May 30 16:05:22 2019
@@ -244,7 +244,12 @@
 	m_currentMask = "";
 	m_importedColors = importedColors;
 	CurrColorStroke = "Black";
+	CurrFillShade = 100;
 	CurrColorFill = "Black";
+	CurrStrokeShade = 100;
+	PLineEnd = Qt::FlatCap;
+	PLineJoin = Qt::MiterJoin;
+	DashOffset = 0.0;
 	Coords = "";
 	pathIsClosed = false;
 	tmpSel = new Selection(m_doc, false);




More information about the scribus-commit mailing list