r20850 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Mon Feb 1 08:20:39 UTC 2016


Author: jghali
Date: Mon Feb  1 08:20:38 2016
New Revision: 20850

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

Modified:
    trunk/Scribus/scribus/ui/customfdialog.cpp

Modified: trunk/Scribus/scribus/ui/customfdialog.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20850&path=/trunk/Scribus/scribus/ui/customfdialog.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/customfdialog.cpp	(original)
+++ trunk/Scribus/scribus/ui/customfdialog.cpp	Mon Feb  1 08:20:38 2016
@@ -339,9 +339,12 @@
 	CancelB->setAutoDefault( false );
 	hboxLayout1->addWidget( CancelB );
 	vboxLayout->addLayout(hboxLayout1);
+
 	SaveZip=NULL;
 	WithFonts=NULL;
 	WithProfiles=NULL;
+	TxCodeM = NULL;
+	TxCodeT = NULL;
 	if (flags & fdDirectoriesOnly)
 	{
 		Layout = new QFrame(this);
@@ -401,8 +404,6 @@
 		if (WithProfiles!=NULL)
 			WithProfiles->setToolTip( "<qt>" + tr( "Include color profiles when collecting files for the document" ) + "</qt>");
 		
-		TxCodeM = NULL;
-		TxCodeT = NULL;
 		if (flags & fdShowCodecs)
 		{
 			LayoutC = new QFrame(this);




More information about the scribus-commit mailing list