r20890 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Tue Feb 2 22:08:06 UTC 2016


Author: jghali
Date: Tue Feb  2 22:08:06 2016
New Revision: 20890

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

Modified:
    trunk/Scribus/scribus/ui/propertiespalette_text.cpp
    trunk/Scribus/scribus/ui/propertiespalette_text.h

Modified: trunk/Scribus/scribus/ui/propertiespalette_text.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20890&path=/trunk/Scribus/scribus/ui/propertiespalette_text.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/propertiespalette_text.cpp	(original)
+++ trunk/Scribus/scribus/ui/propertiespalette_text.cpp	Tue Feb  2 22:08:06 2016
@@ -44,17 +44,17 @@
 #include "util.h"
 #include "util_math.h"
 
-
 //using namespace std;
 
 PropertiesPalette_Text::PropertiesPalette_Text( QWidget* parent) : QWidget(parent)
 {
 	m_ScMW=0;
 	m_doc=0;
+	m_item=0;
 	m_haveDoc = false;
 	m_haveItem = false;
+	m_unitIndex = 0;
 	m_unitRatio = 1.0;
-
 
 	setupUi(this);
 	setSizePolicy( QSizePolicy(QSizePolicy::Maximum, QSizePolicy::Maximum));

Modified: trunk/Scribus/scribus/ui/propertiespalette_text.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20890&path=/trunk/Scribus/scribus/ui/propertiespalette_text.h
==============================================================================
--- trunk/Scribus/scribus/ui/propertiespalette_text.h	(original)
+++ trunk/Scribus/scribus/ui/propertiespalette_text.h	Tue Feb  2 22:08:06 2016
@@ -113,9 +113,6 @@
 	void doClearPStyle();
 
 protected:
-
-	ScComboBox* pathTextType;
-
 	PropertyWidget_TextColor* colorWidgets;
 	QTreeWidgetItem* colorWidgetsItem;
 




More information about the scribus-commit mailing list