r24926 by jghali - Code style fixes

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


Author: jghali
Date: Mon Feb  7 22:24:05 2022
New Revision: 24926

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

Modified:
    branches/Version15x/Scribus/scribus/ui/checkDocument.cpp

Modified: branches/Version15x/Scribus/scribus/ui/checkDocument.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24926&path=/branches/Version15x/Scribus/scribus/ui/checkDocument.cpp
==============================================================================
--- branches/Version15x/Scribus/scribus/ui/checkDocument.cpp	(original)
+++ branches/Version15x/Scribus/scribus/ui/checkDocument.cpp	Mon Feb  7 22:24:05 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