r23688 by jghali - Code style fixes
scribus-commit
scribus-commit at lists.scribus.net
Tue May 5 02:07:21 UTC 2020
Author: jghali
Date: Tue May 5 02:07:21 2020
New Revision: 23688
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23688
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=23688&path=/trunk/Scribus/scribus/scribusdoc.cpp
==============================================================================
--- trunk/Scribus/scribus/scribusdoc.cpp (original)
+++ trunk/Scribus/scribus/scribusdoc.cpp Tue May 5 02:07:21 2020
@@ -9264,7 +9264,7 @@
if (currItemTextCount > 0)
{
int start = currItem->asPathText() ? currItem->firstInFrame() : 0;
- int stop = currItem->asPathText() ? currItem->lastInFrame()+1 : currItemTextCount;
+ int stop = currItem->asPathText() ? currItem->lastInFrame() + 1 : currItemTextCount;
if ((appMode == modeEdit) || (appMode == modeEditTable))
{
start = currItem->itemText.startOfSelection();
@@ -9272,7 +9272,7 @@
if (start >= stop)
start = stop = currItem->itemText.normalizedCursorPosition();
}
- for (int pos=start; pos < stop; ++pos)
+ for (int pos = start; pos < stop; ++pos)
{
if (currItem->itemText.text(pos) == SpecialChars::PARSEP)
{
@@ -9351,7 +9351,7 @@
}
}
CharStyle lastParent = currItem->itemText.charStyle(start);
- int stop = start+qMax(0,length);
+ int stop = start + qMax(0,length);
int lastPos = start;
for (int i = start; i <= stop; ++i)
{
More information about the scribus-commit
mailing list