r20422 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Fri Sep 25 23:01:26 UTC 2015


Author: jghali
Date: Fri Sep 25 23:01:26 2015
New Revision: 20422

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

Modified:
    branches/Version14x/Scribus/scribus/plugins/import/ps/importps.cpp

Modified: branches/Version14x/Scribus/scribus/plugins/import/ps/importps.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20422&path=/branches/Version14x/Scribus/scribus/plugins/import/ps/importps.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/plugins/import/ps/importps.cpp	(original)
+++ branches/Version14x/Scribus/scribus/plugins/import/ps/importps.cpp	Fri Sep 25 23:01:26 2015
@@ -70,11 +70,11 @@
 	CustColors.clear();
 	QFileInfo fi = QFileInfo(fName);
 	QString ext = fi.suffix().toLower();
-	if ( !ScCore->usingGUI() ) {
+	if (!ScCore->usingGUI()) {
 		interactive = false;
 		showProgress = false;
 	}
-	if ( showProgress ) 
+	if (showProgress) 
 	{
 		ScribusMainWindow* mw=(m_Doc==0) ? ScCore->primaryMainWindow() : m_Doc->scMW();
 		progressDialog = new MultiProgressDialog( tr("Importing: %1").arg(fi.fileName()), CommonStrings::tr_Cancel, mw);
@@ -435,7 +435,7 @@
 	args.append( QString("-sTraceFile=%1").arg(QDir::toNativeSeparators(tmpFile)) );
 	QString exportPath = m_Doc->DocName + "-" + fi.baseName();
 	QFileInfo exportFi(exportPath);
-	if ( !exportFi.isWritable() ) {
+	if (!exportFi.isWritable()) {
 		PrefsContext* docContext = PrefsManager::instance()->prefsFile->getContext("docdirs", false);
 		QString docDir = ".";
 		QString prefsDocDir=PrefsManager::instance()->documentDir();
@@ -810,7 +810,7 @@
 				ClosedPath = true;
 			}
 			else if (token == "im") {
-				if ( !Image(params) )
+				if (!Image(params))
 					++failedImages;
 			}
 			lasttoken = token;




More information about the scribus-commit mailing list