[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-4.2' - vcl/source

Tomaž Vajngerl tomaz.vajngerl at collabora.com
Sun Apr 27 10:40:40 PDT 2014


 vcl/source/gdi/outdev.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ce9161733a8ef433d060b87a24ce566d20365679
Author: Tomaž Vajngerl <tomaz.vajngerl at collabora.com>
Date:   Thu Apr 24 17:57:09 2014 +0200

    fdo#74336 wrongly transformed line width - use 0 for height
    
    Change-Id: I3915cfabb9568480d74ea6d4e459def6fe912eb9

diff --git a/vcl/source/gdi/outdev.cxx b/vcl/source/gdi/outdev.cxx
index f8ec872..069fea1 100644
--- a/vcl/source/gdi/outdev.cxx
+++ b/vcl/source/gdi/outdev.cxx
@@ -2159,7 +2159,7 @@ bool OutputDevice::ImpTryDrawPolyLineDirect(
     // transform the line width if used
     if( fLineWidth != 0.0 )
     {
-        aB2DLineWidth = aTransform * ::basegfx::B2DVector( fLineWidth, fLineWidth );
+        aB2DLineWidth = aTransform * ::basegfx::B2DVector( fLineWidth, 0.0 );
     }
 
     // transform the polygon


More information about the Libreoffice-commits mailing list