r20988 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Fri Feb 12 00:00:09 UTC 2016


Author: jghali
Date: Fri Feb 12 00:00:08 2016
New Revision: 20988

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

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

Modified: trunk/Scribus/scribus/ui/mergedoc.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20988&path=/trunk/Scribus/scribus/ui/mergedoc.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/mergedoc.cpp	(original)
+++ trunk/Scribus/scribus/ui/mergedoc.cpp	Fri Feb 12 00:00:08 2016
@@ -56,6 +56,12 @@
 	fromInfoLayout->addWidget( changeButton, 0, 2 );
 	importPageLabel = new QLabel( tr( "&Import Page(s):" ), this );
 	fromInfoLayout->addWidget( importPageLabel, 1, 0 );
+
+	fromLabel = NULL;
+	pageNumberData = NULL;
+	createPageData = NULL;
+	importWhereData = NULL;
+	importWherePageData = NULL;
 	if (masterPages)
 	{
 		importPageLabel->setText( tr("&Import Master Page") );




More information about the scribus-commit mailing list