r22010 by jghali - minor improvement to commit r22009

scribus-commit scribus-commit at lists.scribus.net
Sat Apr 29 22:01:34 UTC 2017


Author: jghali
Date: Sat Apr 29 22:01:34 2017
New Revision: 22010

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22010
Log:
minor improvement to commit r22009

Modified:
    trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format.cpp

Modified: trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22010&path=/trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format.cpp	(original)
+++ trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format.cpp	Sat Apr 29 22:01:34 2017
@@ -5759,7 +5759,7 @@
 			item->cellAt(row, col).setFillColor(fColor);
 		double fShade = tAtt.valueAsDouble("FillShade", -1.0);
 		if (fShade >= 0 && fShade <= 100)
-			item->cellAt(row, col).setFillShade(tAtt.valueAsDouble("FillShade", 100));
+			item->cellAt(row, col).setFillShade(fShade);
 		if (tAtt.hasAttribute("LeftPadding"))
 			item->cellAt(row, col).setLeftPadding(tAtt.valueAsDouble("LeftPadding", 0.0));
 		if (tAtt.hasAttribute("RightPadding"))




More information about the scribus-commit mailing list