r24702 by jghali - Code style fixes

scribus-commit scribus-commit at lists.scribus.net
Tue Aug 24 19:58:33 UTC 2021


Author: jghali
Date: Tue Aug 24 19:58:33 2021
New Revision: 24702

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

Modified:
    trunk/Scribus/scribus/plugins/import/idml/importidml.cpp

Modified: trunk/Scribus/scribus/plugins/import/idml/importidml.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24702&path=/trunk/Scribus/scribus/plugins/import/idml/importidml.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/import/idml/importidml.cpp	(original)
+++ trunk/Scribus/scribus/plugins/import/idml/importidml.cpp	Tue Aug 24 19:58:33 2021
@@ -2253,7 +2253,7 @@
 				item->setFillEvenOdd(false);
 				if (!fillGradient.isEmpty())
 				{
-					QLineF gradientVector = QLineF(gstX, gstY, gstX+1, gstY);
+					QLineF gradientVector = QLineF(gstX, gstY, gstX + 1, gstY);
 					gradientVector.setLength(gLen);
 					gradientVector.setAngle(gAngle);
 					gradientVector.translate(-grOffset.x(), -grOffset.y());
@@ -2264,7 +2264,7 @@
 				}
 				if (!strokeGradient.isEmpty())
 				{
-					QLineF gradientVector = QLineF(gstSX, gstSY, gstSX+1, gstSY);
+					QLineF gradientVector = QLineF(gstSX, gstSY, gstSX + 1, gstSY);
 					gradientVector.setLength(gSLen);
 					gradientVector.setAngle(gSAngle);
 					gradientVector.translate(-grOffset.x(), -grOffset.y());
@@ -2489,7 +2489,7 @@
 			item->setFillEvenOdd(false);
 			if (!fillGradient.isEmpty())
 			{
-				QLineF gradientVector = QLineF(gstX, gstY, gstX+1, gstY);
+				QLineF gradientVector = QLineF(gstX, gstY, gstX + 1, gstY);
 				gradientVector.setLength(gLen);
 				gradientVector.setAngle(gAngle);
 				gradientVector.translate(-grOffset.x(), -grOffset.y());
@@ -2500,7 +2500,7 @@
 			}
 			if (!strokeGradient.isEmpty())
 			{
-				QLineF gradientVector = QLineF(gstSX, gstSY, gstSX+1, gstSY);
+				QLineF gradientVector = QLineF(gstSX, gstSY, gstSX + 1, gstSY);
 				gradientVector.setLength(gSLen);
 				gradientVector.setAngle(gSAngle);
 				gradientVector.translate(-grOffset.x(), -grOffset.y());




More information about the scribus-commit mailing list