r20725 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Tue Jan 26 23:32:43 UTC 2016


Author: jghali
Date: Tue Jan 26 23:32:42 2016
New Revision: 20725

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20725
Log:
fix uninitialized members <coverity>

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

Modified: trunk/Scribus/scribus/ui/pagepalette_widgets.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20725&path=/trunk/Scribus/scribus/ui/pagepalette_widgets.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/pagepalette_widgets.cpp	(original)
+++ trunk/Scribus/scribus/ui/pagepalette_widgets.cpp	Tue Jan 26 23:32:42 2016
@@ -143,6 +143,13 @@
 	setWordWrap(true);
 	Mpressed = false;
 	Namen = true;
+	MaxC  = -1;
+	colmult = 1;
+	coladd = 0;
+	rowmult = 2;
+	rowadd = 1;
+	cols = 1;
+	firstP = 0;
 // 	setFocusPolicy(Qt::NoFocus);
 }
 

Modified: trunk/Scribus/scribus/ui/pagepalette_widgets.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20725&path=/trunk/Scribus/scribus/ui/pagepalette_widgets.h
==============================================================================
--- trunk/Scribus/scribus/ui/pagepalette_widgets.h	(original)
+++ trunk/Scribus/scribus/ui/pagepalette_widgets.h	Tue Jan 26 23:32:42 2016
@@ -123,8 +123,6 @@
 	
 	QPoint Mpos;
 	bool Mpressed;
-	bool Doppel;
-	bool Links;
 	bool Namen;
 	int MaxC;
 	int colmult;




More information about the scribus-commit mailing list