diff options
author | Jan Holesovsky <kendy@collabora.com> | 2013-11-19 10:02:12 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2013-11-25 16:09:20 +0100 |
commit | 82ebfa31c3a821f3624e06958ec706769e2b6f1c (patch) | |
tree | 489a411ecf27e4d0f3e673d251d9a1d90c58ece9 /cppcanvas | |
parent | ec27d36b2adea77201c03ae88ee71ac259e847be (diff) |
EMF+: Stroke size is always supposed to be absolute.
Change-Id: I7221311e5dee6384dc2d1c071bf6f1c61811895a
Diffstat (limited to 'cppcanvas')
-rw-r--r-- | cppcanvas/source/mtfrenderer/emfplus.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cppcanvas/source/mtfrenderer/emfplus.cxx b/cppcanvas/source/mtfrenderer/emfplus.cxx index 2f48b9b6cafd..be2bfbd4a716 100644 --- a/cppcanvas/source/mtfrenderer/emfplus.cxx +++ b/cppcanvas/source/mtfrenderer/emfplus.cxx @@ -625,7 +625,7 @@ namespace cppcanvas SAL_INFO ("cppcanvas.emf", "TODO: pen with zero width - using minimal which might not be correct\n"); } #endif - rStrokeAttributes.StrokeWidth = (rState.mapModeTransform * rR.MapSize (width == 0.0 ? 0.05 : width, 0)).getX (); + rStrokeAttributes.StrokeWidth = fabs((rState.mapModeTransform * rR.MapSize (width == 0.0 ? 0.05 : width, 0)).getX()); } void Read (SvStream& s, ImplRenderer& rR, sal_Int32, sal_Int32 ) |