r20586 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Thu Nov 26 19:30:05 UTC 2015


Author: jghali
Date: Thu Nov 26 19:30:05 2015
New Revision: 20586

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

Modified:
    trunk/Scribus/scribus/scribusdoc.cpp

Modified: trunk/Scribus/scribus/scribusdoc.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20586&path=/trunk/Scribus/scribus/scribusdoc.cpp
==============================================================================
--- trunk/Scribus/scribus/scribusdoc.cpp	(original)
+++ trunk/Scribus/scribus/scribusdoc.cpp	Thu Nov 26 19:30:05 2015
@@ -9331,8 +9331,8 @@
 		int currItemTextCount = currItem->itemText.length();
 		if ((currItemTextCount > 0) && ((appMode == modeEdit) || (appMode == modeEditTable)))
 		{
-            int start = currItem->firstInFrame();
-            int stop = currItem->lastInFrame()+1;
+			int start = currItem->firstInFrame();
+			int stop = currItem->lastInFrame()+1;
 			if ((appMode == modeEdit) || (appMode == modeEditTable))
 			{
 				start = currItem->itemText.startOfSelection();
@@ -15049,12 +15049,12 @@
 			{
 //				bb->setLineSpacing(((bb->fontSize() / 10.0) * static_cast<double>(Doc->typographicSettings.autoLineSpacing) / 100));
 				for (aa = 0; aa < bb->itemText.length(); ++aa)
-                {
-                    CharStyle fsStyle;
-                    fsStyle.setFontSize(qMax(qRound(bb->itemText.charStyle(aa).fontSize()*((scx+scy)/2)), 1));
-                    bb->itemText.applyCharStyle(aa, 1, fsStyle);
-                }
-                if (bb->asPathText())
+				{
+					CharStyle fsStyle;
+					fsStyle.setFontSize(qMax(qRound(bb->itemText.charStyle(aa).fontSize()*((scx+scy)/2)), 1));
+					bb->itemText.applyCharStyle(aa, 1, fsStyle);
+				}
+				if (bb->asPathText())
 					bb->updatePolyClip();
 			}
 		}




More information about the scribus-commit mailing list