r23011 by jghali - Minor change

scribus-commit scribus-commit at lists.scribus.net
Sat Jun 8 17:22:22 UTC 2019


Author: jghali
Date: Sat Jun  8 17:22:22 2019
New Revision: 23011

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23011
Log:
Minor change

Modified:
    trunk/Scribus/scribus/scribus.cpp

Modified: trunk/Scribus/scribus/scribus.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23011&path=/trunk/Scribus/scribus/scribus.cpp
==============================================================================
--- trunk/Scribus/scribus/scribus.cpp	(original)
+++ trunk/Scribus/scribus/scribus.cpp	Sat Jun  8 17:22:22 2019
@@ -5428,17 +5428,18 @@
 			base.append( CommonStrings::trMasterPageNormalRight);
 		}
 	}
-	int cc;
+
 	int wot = wo;
 	if (where == 0)
 		--wot;
 	else if (where == 2)
 		wot = doc->Pages->count();
+
 	qApp->setOverrideCursor(QCursor(Qt::WaitCursor));
 	view->updatesOn(false);
 	const PageSet& pageSet = doc->pageSets()[doc->pagePositioning()];
 	ScPage* currentPage = doc->currentPage();
-	for (cc = 0; cc < numPages; ++cc)
+	for (int i = 0; i < numPages; ++i)
 	{
 		slotNewPage(wot, base[(wot + pageSet.FirstPage) % pageSet.Columns], mov); //Avoid the master page application with QString::null
 //		slotNewPage(wot, QString::null, mov); //Avoid the master page application with QString::null




More information about the scribus-commit mailing list