[Libreoffice-commits] core.git: Branch 'libreoffice-4-0' - drawinglayer/source

Jan Holesovsky kendy at suse.cz
Thu Mar 28 10:09:41 PDT 2013


 drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2511a06b5eaf831193936177a708b283849fdbcf
Author: Jan Holesovsky <kendy at suse.cz>
Date:   Thu Mar 28 13:43:53 2013 +0100

    Re-introduce accidentally removed basegfx::fround().
    
    Change-Id: I0ea05229009a1473767d1614623af2b5a6536c5a
    Signed-off-by: Petr Mladek <pmladek at suse.cz>

diff --git a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
index 83d52c0..ada69e6 100644
--- a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
+++ b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
@@ -1242,7 +1242,7 @@ namespace drawinglayer
                             aHairLinePolyPolygon.transform(maCurrentTransformation);
 
                             // use the transformed line width
-                            LineInfo aLineInfo(LINE_SOLID, getTransformedLineWidth(rLine.getWidth()));
+                            LineInfo aLineInfo(LINE_SOLID, basegfx::fround(getTransformedLineWidth(rLine.getWidth())));
                             aLineInfo.SetLineJoin(rLine.getLineJoin());
                             aLineInfo.SetLineCap(rLine.getLineCap());
 


More information about the Libreoffice-commits mailing list