r20779 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Sat Jan 30 15:55:23 UTC 2016


Author: jghali
Date: Sat Jan 30 15:55:23 2016
New Revision: 20779

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20779
Log:
coverity #1350814, uninitialized pointer field

Modified:
    trunk/Scribus/scribus/scribuscore.cpp

Modified: trunk/Scribus/scribus/scribuscore.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20779&path=/trunk/Scribus/scribus/scribuscore.cpp
==============================================================================
--- trunk/Scribus/scribus/scribuscore.cpp	(original)
+++ trunk/Scribus/scribus/scribuscore.cpp	Sat Jan 30 15:55:23 2016
@@ -49,11 +49,23 @@
 
 ScribusCore::ScribusCore() : QObject(), defaultEngine(colorMgmtEngineFactory.createDefaultEngine())
 {
-	m_ScribusInitialized=false;
-	m_SplashScreen=0;
-	m_UseGUI=false;
-	m_HaveCMS=false;
-	m_currScMW=0;
+	m_ScribusInitialized = false;
+	m_currScMW = 0;
+
+	pluginManager = 0;
+	fileWatcher = 0;
+
+	m_SplashScreen = 0;
+	m_iconManager = 0;
+	m_undoManager = 0;
+	m_prefsManager = 0;
+
+	m_UseGUI = false;
+	m_HaveCMS = false;
+	m_HaveGS = false;
+	m_HavePngAlpha = false;
+	m_HaveTiffSep = false;
+
 	ScColorMgmtStrategy strategy;
 	strategy.useBlackPointCompensation = true;
 	strategy.useBlackPreservation      = false;




More information about the scribus-commit mailing list