r24360 by jghali - Code style fixes

scribus-commit scribus-commit at lists.scribus.net
Mon Dec 28 21:04:14 UTC 2020


Author: jghali
Date: Mon Dec 28 21:04:14 2020
New Revision: 24360

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

Modified:
    trunk/Scribus/scribus/styles/paragraphstyle.cpp

Modified: trunk/Scribus/scribus/styles/paragraphstyle.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24360&path=/trunk/Scribus/scribus/styles/paragraphstyle.cpp
==============================================================================
--- trunk/Scribus/scribus/styles/paragraphstyle.cpp	(original)
+++ trunk/Scribus/scribus/styles/paragraphstyle.cpp	Mon Dec 28 21:04:14 2020
@@ -67,12 +67,12 @@
 
 QString ParagraphStyle::displayName() const
 {
-	if ( isDefaultStyle() )
+	if (isDefaultStyle())
 		return CommonStrings::trDefaultParagraphStyle;
-	if ( hasName() || !hasParent() || !m_context)
+	if (hasName() || !hasParent() || !m_context)
 		return name();
-	//	else if ( inheritsAll() )
-	//		return parent()->displayName();
+//	else if ( inheritsAll() )
+//		return parent()->displayName();
 	return parentStyle()->displayName() + "+";
 }
 




More information about the scribus-commit mailing list