r23258 by jghali - Code style fixes
scribus-commit
scribus-commit at lists.scribus.net
Wed Oct 16 00:16:48 UTC 2019
Author: jghali
Date: Wed Oct 16 00:16:48 2019
New Revision: 23258
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23258
Log:
Code style fixes
Modified:
trunk/Scribus/scribus/canvasgesture_resize.cpp
Modified: trunk/Scribus/scribus/canvasgesture_resize.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23258&path=/trunk/Scribus/scribus/canvasgesture_resize.cpp
==============================================================================
--- trunk/Scribus/scribus/canvasgesture_resize.cpp (original)
+++ trunk/Scribus/scribus/canvasgesture_resize.cpp Wed Oct 16 00:16:48 2019
@@ -286,7 +286,7 @@
}
if (m_doc->m_Selection->isMultipleSelection())
{
- int RotModeBack = m_doc->rotationMode();
+ int oldRotMode = m_doc->rotationMode();
m_doc->setRotationMode ( 0 );
double gx, gy, gh, gw;
m_doc->m_Selection->getGroupRect(&gx, &gy, &gw, &gh);
@@ -302,7 +302,7 @@
double dy = newBounds.y() - oldBounds.y();
if (dx != 0 || dy != 0)
m_doc->moveGroup(dx + m_extraX, dy + m_extraY);
- m_doc->setRotationMode ( RotModeBack );
+ m_doc->setRotationMode(oldRotMode);
}
else
{
More information about the scribus-commit
mailing list