r24108 by jghali - Code style fixes

scribus-commit scribus-commit at lists.scribus.net
Sun Oct 25 20:24:27 UTC 2020


Author: jghali
Date: Sun Oct 25 20:24:27 2020
New Revision: 24108

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24108
Log:
Code style fixes

Modified:
    trunk/Scribus/scribus/scribusdoc.cpp

Modified: trunk/Scribus/scribus/scribusdoc.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24108&path=/trunk/Scribus/scribus/scribusdoc.cpp
==============================================================================
--- trunk/Scribus/scribus/scribusdoc.cpp	(original)
+++ trunk/Scribus/scribus/scribusdoc.cpp	Sun Oct 25 20:24:27 2020
@@ -13001,9 +13001,9 @@
 void ScribusDoc::invalidateLayer(int layerID)
 {
 	QList<PageItem*> allItems;
-	for (int c = 0; c < DocItems.count(); ++c)
-	{
-		PageItem *ite = DocItems.at(c);
+	for (int i = 0; i < DocItems.count(); ++i)
+	{
+		PageItem *ite = DocItems.at(i);
 		if (ite->isGroup())
 			allItems = ite->getAllChildren();
 		else
@@ -13018,9 +13018,9 @@
 	}
 	if (this->masterPageMode())
 	{
-		for (int c=0; c < MasterItems.count(); ++c)
-		{
-			PageItem *ite = MasterItems.at(c);
+		for (int i = 0; i < MasterItems.count(); ++i)
+		{
+			PageItem *ite = MasterItems.at(i);
 			if (ite->isGroup())
 				allItems = ite->getAllChildren();
 			else
@@ -13040,9 +13040,9 @@
 void ScribusDoc::invalidateRegion(QRectF region)
 {
 	QList<PageItem*> allItems;
-	for (int c=0; c<DocItems.count(); ++c)
-	{
-		PageItem *ite = DocItems.at(c);
+	for (int i = 0; i < DocItems.count(); ++i)
+	{
+		PageItem *ite = DocItems.at(i);
 		if (ite->isGroup())
 			allItems = ite->getAllChildren();
 		else
@@ -13055,9 +13055,9 @@
 		}
 		allItems.clear();
 	}
-	for (int c=0; c<MasterItems.count(); ++c)
-	{
-		PageItem *ite = MasterItems.at(c);
+	for (int i = 0; i < MasterItems.count(); ++i)
+	{
+		PageItem *ite = MasterItems.at(i);
 		if (ite->isGroup())
 			allItems = ite->getAllChildren();
 		else




More information about the scribus-commit mailing list