Author: jghali
Date: Mon Oct  7 00:09:02 2019
New Revision: 23239

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

Modified:
    trunk/Scribus/scribus/scpage.cpp

Modified: trunk/Scribus/scribus/scpage.cpp
URL: 
http://scribus.net/websvn/diff.php?repname=Scribus&rev=23239&path=/trunk/Scribus/scribus/scpage.cpp
==============================================================================
--- trunk/Scribus/scribus/scpage.cpp    (original)
+++ trunk/Scribus/scribus/scpage.cpp    Mon Oct  7 00:09:02 2019
@@ -332,7 +332,7 @@
                return;
        int stateCode = state->transactionCode;
        PageItem *ite = state->getItem();
-       bool oldMPMode=m_Doc->masterPageMode();
+       bool oldMPMode = m_Doc->masterPageMode();
        m_Doc->setMasterPageMode(!ite->OnMasterPage.isEmpty());
        if (m_Doc->inAnEditMode())
                m_Doc->view()->requestMode(modeNormal);
@@ -419,9 +419,9 @@
        if (!state)
                return;
 
-       PageItem *oldItem=state->getItem().first;
-       PageItem *newItem=state->getItem().second;
-       bool oldMPMode=m_Doc->masterPageMode();
+       PageItem *oldItem = state->getItem().first;
+       PageItem *newItem = state->getItem().second;
+       bool oldMPMode = m_Doc->masterPageMode();
        m_Doc->setMasterPageMode(!oldItem->OnMasterPage.isEmpty());
        if (isUndo)
        {
@@ -442,10 +442,10 @@
        if (!state)
                return;
 
-       PageItem *oldItem=state->getItem().first;
-       PageItem *newItem=state->getItem().second;
-       QString patternName=state->getDescription();
-       bool oldMPMode=m_Doc->masterPageMode();
+       PageItem *oldItem = state->getItem().first;
+       PageItem *newItem = state->getItem().second;
+       QString patternName = state->getDescription();
+       bool oldMPMode = m_Doc->masterPageMode();
        m_Doc->setMasterPageMode(!oldItem->OnMasterPage.isEmpty());
        if (isUndo)
        {
@@ -504,7 +504,7 @@
 
 void ScPage::copySizingProperties(ScPage* sourcePage, const MarginStruct& 
pageMargins)
 {
-       if (sourcePage==nullptr)
+       if (sourcePage == nullptr)
                return;
        m_pageSize = sourcePage->m_pageSize;
        m_orientation = sourcePage->m_orientation;


_______________________________________________
scribus-commit mailing list
[email protected]
http://lists.scribus.net/mailman/listinfo/scribus-commit

Reply via email to