r20856 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Mon Feb 1 12:51:57 UTC 2016


Author: jghali
Date: Mon Feb  1 12:51:57 2016
New Revision: 20856

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20856
Log:
coverity #1350789: uninitialized scalar field

Modified:
    trunk/Scribus/scribus/plugins/import/vsd/importvsd.cpp

Modified: trunk/Scribus/scribus/plugins/import/vsd/importvsd.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20856&path=/trunk/Scribus/scribus/plugins/import/vsd/importvsd.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/import/vsd/importvsd.cpp	(original)
+++ trunk/Scribus/scribus/plugins/import/vsd/importvsd.cpp	Mon Feb  1 12:51:57 2016
@@ -59,11 +59,15 @@
 
 VsdPlug::VsdPlug(ScribusDoc* doc, int flags)
 {
-	tmpSel=new Selection(this, false);
-	m_Doc=doc;
+	baseX = baseY = 0;
+	docWidth = docHeight = 1;
+
+	tmpSel = new Selection(this, false);
+	m_Doc = doc;
 	importerFlags = flags;
 	interactive = (flags & LoadSavePlugin::lfInteractive);
 	progressDialog = NULL;
+	cancel = false;
 }
 
 QImage VsdPlug::readThumbnail(QString fName)




More information about the scribus-commit mailing list