r20857 by jghali -
scribus-commit
scribus-commit at lists.scribus.net
Mon Feb 1 12:53:37 UTC 2016
Author: jghali
Date: Mon Feb 1 12:53:37 2016
New Revision: 20857
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20857
Log:
coverity #1350788: uninitialized scalar field
Modified:
trunk/Scribus/scribus/plugins/import/cdr/importcdr.cpp
Modified: trunk/Scribus/scribus/plugins/import/cdr/importcdr.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20857&path=/trunk/Scribus/scribus/plugins/import/cdr/importcdr.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/import/cdr/importcdr.cpp (original)
+++ trunk/Scribus/scribus/plugins/import/cdr/importcdr.cpp Mon Feb 1 12:53:37 2016
@@ -55,11 +55,15 @@
CdrPlug::CdrPlug(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 CdrPlug::readThumbnail(QString fName)
More information about the scribus-commit
mailing list