r20822 by jghali -
scribus-commit
scribus-commit at lists.scribus.net
Sat Jan 30 23:30:48 UTC 2016
Author: jghali
Date: Sat Jan 30 23:30:48 2016
New Revision: 20822
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20822
Log:
code style fixes
Modified:
trunk/Scribus/scribus/collect4output.cpp
trunk/Scribus/scribus/fonts/scface_ps.cpp
Modified: trunk/Scribus/scribus/collect4output.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20822&path=/trunk/Scribus/scribus/collect4output.cpp
==============================================================================
--- trunk/Scribus/scribus/collect4output.cpp (original)
+++ trunk/Scribus/scribus/collect4output.cpp Sat Jan 30 23:30:48 2016
@@ -431,33 +431,33 @@
// Look for afm files
QString afmName(afnm+"afm");
- if(QFile::exists(afmName))
+ if (QFile::exists(afmName))
metricsFiles.append(afmName);
else
{
afmName = afnm+"Afm";
- if(QFile::exists(afmName))
+ if (QFile::exists(afmName))
metricsFiles.append(afmName);
else
{
afmName = afnm+"AFM";
- if(QFile::exists(afmName))
+ if (QFile::exists(afmName))
metricsFiles.append(afmName);
}
}
// Look for pfm files
QString pfmName(afnm+"pfm");
- if(QFile::exists(pfmName))
+ if (QFile::exists(pfmName))
metricsFiles.append(pfmName);
else
{
pfmName = afnm+"Pfm";
- if(QFile::exists(pfmName))
+ if (QFile::exists(pfmName))
metricsFiles.append(pfmName);
else
{
afmName = afnm+"PFM";
- if(QFile::exists(pfmName))
+ if (QFile::exists(pfmName))
metricsFiles.append(pfmName);
}
}
Modified: trunk/Scribus/scribus/fonts/scface_ps.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20822&path=/trunk/Scribus/scribus/fonts/scface_ps.cpp
==============================================================================
--- trunk/Scribus/scribus/fonts/scface_ps.cpp (original)
+++ trunk/Scribus/scribus/fonts/scface_ps.cpp Sat Jan 30 23:30:48 2016
@@ -45,12 +45,12 @@
QString afnm = baseDir + "/" + baseName + ".";
// Look for afm files
QString afmName(afnm+"afm");
- if(QFile::exists(afmName))
+ if (QFile::exists(afmName))
metricsFiles.append(afmName);
else
{
afmName = afnm+"Afm";
- if(QFile::exists(afmName))
+ if (QFile::exists(afmName))
metricsFiles.append(afmName);
else
{
@@ -61,17 +61,17 @@
}
// Look for pfm files
QString pfmName(afnm+"pfm");
- if(QFile::exists(pfmName))
+ if (QFile::exists(pfmName))
metricsFiles.append(pfmName);
else
{
pfmName = afnm+"Pfm";
- if(QFile::exists(pfmName))
+ if (QFile::exists(pfmName))
metricsFiles.append(pfmName);
else
{
pfmName = afnm+"PFM";
- if(QFile::exists(pfmName))
+ if (QFile::exists(pfmName))
metricsFiles.append(pfmName);
}
}
More information about the scribus-commit
mailing list