r24595 by jghali - Code style fixes
scribus-commit
scribus-commit at lists.scribus.net
Mon Mar 29 21:04:46 UTC 2021
Author: jghali
Date: Mon Mar 29 21:04:46 2021
New Revision: 24595
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24595
Log:
Code style fixes
Modified:
trunk/Scribus/scribus/canvasmode_edit.cpp
trunk/Scribus/scribus/canvasmode_framelinks.cpp
trunk/Scribus/scribus/canvasmode_normal.cpp
Modified: trunk/Scribus/scribus/canvasmode_edit.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24595&path=/trunk/Scribus/scribus/canvasmode_edit.cpp
==============================================================================
--- trunk/Scribus/scribus/canvasmode_edit.cpp (original)
+++ trunk/Scribus/scribus/canvasmode_edit.cpp Mon Mar 29 21:04:46 2021
@@ -1017,9 +1017,9 @@
currItem = nullptr;
if ((m->modifiers() & SELECT_BENEATH) != 0)
{
- for (int i=0; i < m_doc->m_Selection->count(); ++i)
- {
- if (m_canvas->frameHitTest(QPointF(mousePointDoc.x(),mousePointDoc.y()), m_doc->m_Selection->itemAt(i)) >= 0)
+ for (int i = 0; i < m_doc->m_Selection->count(); ++i)
+ {
+ if (m_canvas->frameHitTest(QPointF(mousePointDoc.x(), mousePointDoc.y()), m_doc->m_Selection->itemAt(i)) >= 0)
{
currItem = m_doc->m_Selection->itemAt(i);
m_doc->m_Selection->removeItem(currItem);
Modified: trunk/Scribus/scribus/canvasmode_framelinks.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24595&path=/trunk/Scribus/scribus/canvasmode_framelinks.cpp
==============================================================================
--- trunk/Scribus/scribus/canvasmode_framelinks.cpp (original)
+++ trunk/Scribus/scribus/canvasmode_framelinks.cpp Mon Mar 29 21:04:46 2021
@@ -455,9 +455,9 @@
currItem = nullptr;
if ((m->modifiers() & SELECT_BENEATH) != 0)
{
- for (int i=0; i < m_doc->m_Selection->count(); ++i)
- {
- if (m_canvas->frameHitTest(QPointF(mousePointDoc.x(),mousePointDoc.y()), m_doc->m_Selection->itemAt(i)) >= 0)
+ for (int i = 0; i < m_doc->m_Selection->count(); ++i)
+ {
+ if (m_canvas->frameHitTest(QPointF(mousePointDoc.x(), mousePointDoc.y()), m_doc->m_Selection->itemAt(i)) >= 0)
{
currItem = m_doc->m_Selection->itemAt(i);
m_doc->m_Selection->removeItem(currItem);
Modified: trunk/Scribus/scribus/canvasmode_normal.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24595&path=/trunk/Scribus/scribus/canvasmode_normal.cpp
==============================================================================
--- trunk/Scribus/scribus/canvasmode_normal.cpp (original)
+++ trunk/Scribus/scribus/canvasmode_normal.cpp Mon Mar 29 21:04:46 2021
@@ -1663,9 +1663,9 @@
currItem = nullptr;
if ((m->modifiers() & SELECT_BENEATH) != 0)
{
- for (int i=0; i < m_doc->m_Selection->count(); ++i)
- {
- if (m_canvas->frameHitTest(QPointF(mousePointDoc.x(),mousePointDoc.y()), m_doc->m_Selection->itemAt(i)) >= 0)
+ for (int i = 0; i < m_doc->m_Selection->count(); ++i)
+ {
+ if (m_canvas->frameHitTest(QPointF(mousePointDoc.x(), mousePointDoc.y()), m_doc->m_Selection->itemAt(i)) >= 0)
{
currItem = m_doc->m_Selection->itemAt(i);
m_doc->m_Selection->removeItem(currItem);
More information about the scribus-commit
mailing list