r24927 by jghali - Code style fixes

scribus-commit scribus-commit at lists.scribus.net
Mon Feb 7 22:24:25 UTC 2022


Author: jghali
Date: Mon Feb  7 22:24:25 2022
New Revision: 24927

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

Modified:
    trunk/Scribus/scribus/ui/checkDocument.cpp

Modified: trunk/Scribus/scribus/ui/checkDocument.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24927&path=/trunk/Scribus/scribus/ui/checkDocument.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/checkDocument.cpp	(original)
+++ trunk/Scribus/scribus/ui/checkDocument.cpp	Mon Feb  7 22:24:25 2022
@@ -254,15 +254,15 @@
 
 void CheckDocument::doReScan()
 {
-	showPagesWithoutErrors=PrefsManager::instance().appPrefs.verifierPrefs.showPagesWithoutErrors;
-	showNonPrintingLayerErrors=PrefsManager::instance().appPrefs.verifierPrefs.showNonPrintingLayerErrors;
+	showPagesWithoutErrors = PrefsManager::instance().appPrefs.verifierPrefs.showPagesWithoutErrors;
+	showNonPrintingLayerErrors = PrefsManager::instance().appPrefs.verifierPrefs.showNonPrintingLayerErrors;
 	newScan(curCheckProfile->currentText());
 }
 
 void CheckDocument::newScan(const QString& name)
 {
 	clearErrorList();
-	if (m_Doc==nullptr)
+	if (m_Doc == nullptr)
 		return;
 	m_Doc->setCurCheckProfile(name);
 	DocumentChecker::checkDocument(m_Doc);
@@ -414,7 +414,7 @@
 	curCheckProfile->clear();
 	clearErrorList();
 
-	if (m_Doc==nullptr)
+	if (m_Doc == nullptr)
 		return;
 
 	minResDPI = qRound(doc->checkerProfiles()[doc->curCheckProfile()].minResolution);




More information about the scribus-commit mailing list