r19195 by jghali - code indentation fixes

scribus-commit scribus-commit at lists.scribus.net
Mon Jun 9 13:49:20 UTC 2014


Author: jghali
Date: Mon Jun  9 13:49:19 2014
New Revision: 19195

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19195
Log:
code indentation fixes

Modified:
    branches/Version14x/Scribus/scribus/scribus.cpp

Modified: branches/Version14x/Scribus/scribus/scribus.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19195&path=/branches/Version14x/Scribus/scribus/scribus.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/scribus.cpp (original)
+++ branches/Version14x/Scribus/scribus/scribus.cpp Mon Jun  9 13:49:19 2014
@@ -8663,9 +8663,9 @@
 	tmpl << state->get("MASTERPAGE");
 	QString pageName = state->get("PAGENAME");
 	bool savedMasterPageMode = state->getBool("MASTER_PAGE_MODE");
-        bool currMasterPageMode=doc->masterPageMode();
-        if (currMasterPageMode!=savedMasterPageMode)
-                doc->setMasterPageMode(savedMasterPageMode);
+	bool currMasterPageMode=doc->masterPageMode();
+	if (currMasterPageMode!=savedMasterPageMode)
+		doc->setMasterPageMode(savedMasterPageMode);
 	if (pagenr == 1)
 	{
 		where = 0;
@@ -8703,14 +8703,14 @@
 		state->set("DUMMY_ID", id);
 		deletePage(pagenr, pagenr);
 	}
-        if (currMasterPageMode!=savedMasterPageMode)
-                doc->setMasterPageMode(currMasterPageMode);
-        doc->rebuildMasterNames();
+	if (currMasterPageMode!=savedMasterPageMode)
+		doc->setMasterPageMode(currMasterPageMode);
+	doc->rebuildMasterNames();
 	ActWin->masterPagesPalette()->updateMasterPageList();
 	pagePalette->rebuildMasters();        
 	pagePalette->rebuildPages();
-        if (outlinePalette->isVisible())
-                outlinePalette->BuildTree();
+	if (outlinePalette->isVisible())
+		outlinePalette->BuildTree();
 }
 
 void ScribusMainWindow::restoreAddPage(SimpleState *state, bool isUndo)
@@ -8729,8 +8729,8 @@
 	int delFrom = 0;
 	int delTo = 0;
 	bool currMasterPageMode=doc->masterPageMode();
-        if (currMasterPageMode!=savedMasterPageMode)
-                doc->setMasterPageMode(savedMasterPageMode);
+	if (currMasterPageMode!=savedMasterPageMode)
+		doc->setMasterPageMode(savedMasterPageMode);
 
 	switch (where)
 	{




More information about the scribus-commit mailing list