r23261 by jghali - Code style fixes
scribus-commit
scribus-commit at lists.scribus.net
Thu Oct 17 08:57:17 UTC 2019
Author: jghali
Date: Thu Oct 17 08:57:17 2019
New Revision: 23261
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23261
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=23261&path=/trunk/Scribus/scribus/scribusdoc.cpp
==============================================================================
--- trunk/Scribus/scribus/scribusdoc.cpp (original)
+++ trunk/Scribus/scribus/scribusdoc.cpp Thu Oct 17 08:57:17 2019
@@ -14846,7 +14846,7 @@
for (int j = 0; j < item->itemText.length(); ++j)
{
CharStyle fsStyle;
- fsStyle.setFontSize(qMax(qRound(item->itemText.charStyle(j).fontSize()*((scx+scy)/2)), 1));
+ fsStyle.setFontSize(qMax(qRound(item->itemText.charStyle(j).fontSize() * ((scx + scy) / 2)), 1));
item->itemText.applyCharStyle(j, 1, fsStyle);
}
if (item->asPathText())
@@ -14891,21 +14891,21 @@
switch (m_rotMode)
{
case 2:
- moveGroup((origGW-gw) / 2.0, (origGH-gh) / 2.0);
+ moveGroup((origGW - gw) / 2.0, (origGH - gh) / 2.0);
break;
case 4:
- moveGroup(origGW-gw, origGH-gh);
+ moveGroup(origGW - gw, origGH - gh);
break;
case 3:
- moveGroup(0.0, origGH-gh);
+ moveGroup(0.0, origGH - gh);
break;
case 1:
- moveGroup(origGW-gw, 0.0);
+ moveGroup(origGW - gw, 0.0);
break;
}
}
updateManager()->setUpdatesEnabled();
- regionsChanged()->update(QRectF(gx-5, gy-5, gw+10, gh+10).united(oldR));
+ regionsChanged()->update(QRectF(gx - 5, gy - 5, gw + 10, gh + 10).united(oldR));
itemSelection->setGroupRect();
itemSelection->getGroupRect(&gx, &gy, &gw, &gh);
for (int i = 0; i < selectedItemCount; ++i)
More information about the scribus-commit
mailing list