r24133 by jghali - Code style fixes

scribus-commit scribus-commit at lists.scribus.net
Sat Oct 31 15:50:51 UTC 2020


Author: jghali
Date: Sat Oct 31 15:50:51 2020
New Revision: 24133

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

Modified:
    trunk/Scribus/scribus/printpreviewcreator_ps.cpp
    trunk/Scribus/scribus/ui/outputpreview_pdf.cpp
    trunk/Scribus/scribus/ui/outputpreview_ps.cpp

Modified: trunk/Scribus/scribus/printpreviewcreator_ps.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24133&path=/trunk/Scribus/scribus/printpreviewcreator_ps.cpp
==============================================================================
--- trunk/Scribus/scribus/printpreviewcreator_ps.cpp	(original)
+++ trunk/Scribus/scribus/printpreviewcreator_ps.cpp	Sat Oct 31 15:50:51 2020
@@ -398,7 +398,7 @@
 	{
 		if (!m_haveTiffSep)
 			return 1;
-		args.append( "-sDEVICE=tiffsep" );
+		args.append("-sDEVICE=tiffsep");
 	}
 	else
 	{
@@ -409,8 +409,8 @@
 	}
 	if (m_useAntialiasing)
 	{
-		args.append( "-dTextAlphaBits=4" );
-		args.append( "-dGraphicsAlphaBits=4" );
+		args.append("-dTextAlphaBits=4");
+		args.append("-dGraphicsAlphaBits=4");
 	}
 	if ((m_doc->HasCMS) && (m_gsVersion >= 900))
 	{
@@ -582,7 +582,7 @@
 		if (fx.open(QIODevice::WriteOnly))
 		{
 			QTextStream tsx(&fx);
-			tsx << QString("<< /SeparationColorNames " + allSeps+" /SeparationOrder [ " + currSeps + " ] >> setpagedevice");
+			tsx << QString("<< /SeparationColorNames " + allSeps + " /SeparationOrder [ " + currSeps + " ] >> setpagedevice");
 			fx.close();
 		}
 		args3.append("-f");

Modified: trunk/Scribus/scribus/ui/outputpreview_pdf.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24133&path=/trunk/Scribus/scribus/ui/outputpreview_pdf.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/outputpreview_pdf.cpp	(original)
+++ trunk/Scribus/scribus/ui/outputpreview_pdf.cpp	Sat Oct 31 15:50:51 2020
@@ -587,7 +587,7 @@
 	{
 		if (!m_haveTiffSep)
 			return 1;
-		args.append( "-sDEVICE=tiffsep" );
+		args.append("-sDEVICE=tiffsep");
 	}
 	else
 	{
@@ -598,8 +598,8 @@
 	}
 	if (m_optionsUi->antiAliasing->isChecked())
 	{
-		args.append( "-dTextAlphaBits=4" );
-		args.append( "-dGraphicsAlphaBits=4" );
+		args.append("-dTextAlphaBits=4");
+		args.append("-dGraphicsAlphaBits=4");
 	}
 	if ((m_doc->HasCMS) && (m_gsVersion >= 900))
 	{
@@ -769,7 +769,7 @@
 		if (fx.open(QIODevice::WriteOnly))
 		{
 			QTextStream tsx(&fx);
-			tsx << QString("<< /SeparationColorNames " + allSeps+" /SeparationOrder [ " + currSeps + " ] >> setpagedevice");
+			tsx << QString("<< /SeparationColorNames " + allSeps + " /SeparationOrder [ " + currSeps + " ] >> setpagedevice");
 			fx.close();
 		}
 		args3.append("-f");

Modified: trunk/Scribus/scribus/ui/outputpreview_ps.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24133&path=/trunk/Scribus/scribus/ui/outputpreview_ps.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/outputpreview_ps.cpp	(original)
+++ trunk/Scribus/scribus/ui/outputpreview_ps.cpp	Sat Oct 31 15:50:51 2020
@@ -623,7 +623,7 @@
 	{
 		if (!m_haveTiffSep)
 			return 1;
-		args.append( "-sDEVICE=tiffsep" );
+		args.append("-sDEVICE=tiffsep");
 	}
 	else
 	{
@@ -634,8 +634,8 @@
 	}
 	if (m_optionsUi->antiAliasing->isChecked())
 	{
-		args.append( "-dTextAlphaBits=4" );
-		args.append( "-dGraphicsAlphaBits=4" );
+		args.append("-dTextAlphaBits=4");
+		args.append("-dGraphicsAlphaBits=4");
 	}
 	if ((m_doc->HasCMS) && (m_gsVersion >= 900))
 	{
@@ -807,7 +807,7 @@
 		if (fx.open(QIODevice::WriteOnly))
 		{
 			QTextStream tsx(&fx);
-			tsx << QString("<< /SeparationColorNames " + allSeps+" /SeparationOrder [ " + currSeps + " ] >> setpagedevice");
+			tsx << QString("<< /SeparationColorNames " + allSeps + " /SeparationOrder [ " + currSeps + " ] >> setpagedevice");
 			fx.close();
 		}
 		args3.append("-f");




More information about the scribus-commit mailing list