r22243 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Sun Dec 10 13:12:12 UTC 2017


Author: jghali
Date: Sun Dec 10 13:12:11 2017
New Revision: 22243

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

Modified:
    trunk/Scribus/scribus/plugins/import/pdf/slaoutput.cpp

Modified: trunk/Scribus/scribus/plugins/import/pdf/slaoutput.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22243&path=/trunk/Scribus/scribus/plugins/import/pdf/slaoutput.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/import/pdf/slaoutput.cpp	(original)
+++ trunk/Scribus/scribus/plugins/import/pdf/slaoutput.cpp	Sun Dec 10 13:12:11 2017
@@ -2496,10 +2496,10 @@
 	QImage res = QImage(width, height, QImage::Format_ARGB32);
 	res.fill(backColor.rgb());
 	unsigned char cc, cm, cy, ck;
-	for( int yi = 0; yi < res.height(); ++yi )
+	for (int yi = 0; yi < res.height(); ++yi)
 	{
 		QRgb *t = (QRgb*)(res.scanLine( yi ));
-		for(int xi = 0; xi < res.width(); ++xi )
+		for (int xi = 0; xi < res.width(); ++xi)
 		{
 			cc = qRed(*t);
 			cm = qGreen(*t);
@@ -2644,10 +2644,10 @@
 	QImage res = image->convertToFormat(QImage::Format_ARGB32);
 	unsigned char cc, cm, cy, ck;
 	int s = 0;
-	for( int yi=0; yi < res.height(); ++yi )
+	for (int yi=0; yi < res.height(); ++yi)
 	{
 		QRgb *t = (QRgb*)(res.scanLine( yi ));
-		for(int xi=0; xi < res.width(); ++xi )
+		for (int xi=0; xi < res.width(); ++xi)
 		{
 			cc = qRed(*t);
 			cm = qGreen(*t);
@@ -2794,10 +2794,10 @@
 	QImage res = image->convertToFormat(QImage::Format_ARGB32);
 	unsigned char cc, cm, cy, ck;
 	int s = 0;
-	for( int yi=0; yi < res.height(); ++yi )
+	for (int yi=0; yi < res.height(); ++yi)
 	{
 		QRgb *t = (QRgb*)(res.scanLine( yi ));
-		for(int xi=0; xi < res.width(); ++xi )
+		for (int xi=0; xi < res.width(); ++xi)
 		{
 			cc = qRed(*t);
 			cm = qGreen(*t);




More information about the scribus-commit mailing list