r19926 by jghali - code style fixes
scribus-commit
scribus-commit at lists.scribus.net
Sun Mar 15 19:58:33 UTC 2015
Author: jghali
Date: Sun Mar 15 19:58:33 2015
New Revision: 19926
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19926
Log:
code style fixes
Modified:
trunk/Scribus/scribus/pageitem_textframe.cpp
Modified: trunk/Scribus/scribus/pageitem_textframe.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19926&path=/trunk/Scribus/scribus/pageitem_textframe.cpp
==============================================================================
--- trunk/Scribus/scribus/pageitem_textframe.cpp (original)
+++ trunk/Scribus/scribus/pageitem_textframe.cpp Sun Mar 15 19:58:33 2015
@@ -4797,7 +4797,7 @@
int start = itemText.startOfSelection();
int stop = itemText.endOfSelection();
int marksNum = 0;
- if(UndoManager::undoEnabled()) {
+ if (UndoManager::undoEnabled()) {
int lastPos = start;
CharStyle lastParent = itemText.charStyle(start);
UndoState* state = undoManager->getLastUndo();
@@ -4805,7 +4805,7 @@
TransactionState *ts = NULL;
bool added = false;
bool lastIsDelete = false;
- while(state && state->isTransaction()){
+ while (state && state->isTransaction()){
ts = dynamic_cast<TransactionState*>(state);
is = dynamic_cast<ScItemState<CharStyle>*>(ts->at(ts->sizet()-1));
state = ts->at(0);
@@ -4932,7 +4932,7 @@
}
}
else //remove marks without undo
- marksNum =removeMarksFromText(false);
+ marksNum = removeMarksFromText(false);
itemText.setCursorPosition( start );
//for sure text is still selected
itemText.select(start, stop - start - marksNum);
More information about the scribus-commit
mailing list