r23766 by jghali - Code style fixes
scribus-commit
scribus-commit at lists.scribus.net
Mon May 11 14:11:51 UTC 2020
Author: jghali
Date: Mon May 11 14:11:50 2020
New Revision: 23766
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23766
Log:
Code style fixes
Modified:
trunk/Scribus/scribus/plugins/fileloader/scribus13format/scribus13format.cpp
Modified: trunk/Scribus/scribus/plugins/fileloader/scribus13format/scribus13format.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23766&path=/trunk/Scribus/scribus/plugins/fileloader/scribus13format/scribus13format.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/fileloader/scribus13format/scribus13format.cpp (original)
+++ trunk/Scribus/scribus/plugins/fileloader/scribus13format/scribus13format.cpp Mon May 11 14:11:50 2020
@@ -156,7 +156,7 @@
else
return QString();
if (docText.endsWith(QChar(10)) || docText.endsWith(QChar(13)))
- docText.truncate(docText.length()-1);
+ docText.truncate(docText.length() - 1);
return docText;
}
@@ -484,7 +484,7 @@
PGSN = PGSN.nextSibling();
}
m_Doc->appendToPageSets(pageS);
- if (m_Doc->pageSets().count()-1 == m_Doc->pagePositioning())
+ if (m_Doc->pageSets().count() - 1 == m_Doc->pagePositioning())
{
m_Doc->setPageGapHorizontal(ScCLocale::toDoubleC(PgsAttr.attribute("GapHorizontal"), 0.0));
m_Doc->setPageGapVertical(ScCLocale::toDoubleC(PgsAttr.attribute("GapBelow"), 0.0));
@@ -1378,7 +1378,7 @@
if (calign >= 0)
pstyle.setAlignment(static_cast<ParagraphStyle::AlignmentType>(calign));
// qDebug() << QString("par style at end: %1/%2 (%3) calign %4").arg(pstyle.name()).arg(pstyle.parent()).arg(last->ParaStyle).arg(calign);
- obj->itemText.applyStyle(obj->itemText.length()-1, pstyle);
+ obj->itemText.applyStyle(obj->itemText.length() - 1, pstyle);
//last->StyleStart = obj->itemText.length();
}
More information about the scribus-commit
mailing list