r21158 by jghali -
scribus-commit
scribus-commit at lists.scribus.net
Sun Apr 3 21:52:51 UTC 2016
Author: jghali
Date: Sun Apr 3 21:52:51 2016
New Revision: 21158
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21158
Log:
#13899: Fix compilation warning <jurajF>
Modified:
trunk/Scribus/scribus/text/boxes.cpp
Modified: trunk/Scribus/scribus/text/boxes.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21158&path=/trunk/Scribus/scribus/text/boxes.cpp
==============================================================================
--- trunk/Scribus/scribus/text/boxes.cpp (original)
+++ trunk/Scribus/scribus/text/boxes.cpp Sun Apr 3 21:52:51 2016
@@ -531,8 +531,6 @@
if (charStyle.baselineOffset() != 0)
p->translate(0, -fontSize * (charStyle.baselineOffset() / 1000.0));
- double glxSc = gl.scaleH * charStyle.fontSize() / 100.0;
- double glySc = gl.scaleV * charStyle.fontSize() / 100.0;
if (gl.glyph == 0)
{
@@ -569,7 +567,7 @@
if ((charStyle.effects() & ScStyle_Outline) && hasStrokeColor && ((charStyle.fontSize() * gl.scaleV * charStyle.outlineWidth() / 10000.0) != 0))
{
- p->setStrokeWidth((charStyle.fontSize() * gl.scaleV * charStyle.outlineWidth() / 10000.0));// / glySc);
+ p->setStrokeWidth((charStyle.fontSize() * gl.scaleV * charStyle.outlineWidth() / 10000.0));
p->drawGlyphOutline(gl, hasFillColor);
}
else if (hasFillColor)
More information about the scribus-commit
mailing list