r23171 by jghali - Minor code style fixes
scribus-commit
scribus-commit at lists.scribus.net
Mon Sep 2 02:32:36 UTC 2019
Author: jghali
Date: Mon Sep 2 02:32:36 2019
New Revision: 23171
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23171
Log:
Minor code style fixes
Modified:
trunk/Scribus/scribus/pageitem.cpp
Modified: trunk/Scribus/scribus/pageitem.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23171&path=/trunk/Scribus/scribus/pageitem.cpp
==============================================================================
--- trunk/Scribus/scribus/pageitem.cpp (original)
+++ trunk/Scribus/scribus/pageitem.cpp Mon Sep 2 02:32:36 2019
@@ -9435,15 +9435,15 @@
QFileInfo fi(filename);
QString clPath(pixm.imgInfo.usedPath);
pixm.imgInfo.valid = false;
- pixm.imgInfo.clipPath="";
+ pixm.imgInfo.clipPath.clear();
pixm.imgInfo.PDSpathData.clear();
pixm.imgInfo.layerInfo.clear();
pixm.imgInfo.usedPath="";
imageClip.resize(0);
int lowResTypeBack = pixm.imgInfo.lowResType;
- int gsRes=gsResolution;
- if (gsResolution==-1) //If it wasn't supplied, get it from PrefsManager.
- gsRes=PrefsManager::instance().gsResolution();
+ int gsRes = gsResolution;
+ if (gsResolution == -1) //If it wasn't supplied, get it from PrefsManager.
+ gsRes = PrefsManager::instance().gsResolution();
bool dummy;
CMSettings cms(m_Doc, IProfile, IRender);
@@ -9460,7 +9460,6 @@
{
Pfile = fi.absoluteFilePath();
imageIsAvailable = false;
-// PicArt = false;
return false;
}
@@ -9487,7 +9486,6 @@
double xres = pixm.imgInfo.xres;
double yres = pixm.imgInfo.yres;
imageIsAvailable = true;
-// PicArt = true;
if (Pfile != filename)
{
More information about the scribus-commit
mailing list