summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.com>2014-04-24 17:57:09 +0200
committerTomaž Vajngerl <tomaz.vajngerl@collabora.com>2014-04-24 22:51:14 +0200
commit4abaaf7663d053f1c37a34487320246e29e43516 (patch)
tree3a7283008d6f4b48536d17d93d48b5f86e347bae
parent30798aa536fb1f0d27bcc3ee42200bc62238c8ca (diff)
fdo#74336 wrongly transformed line width - use 0 for height
Change-Id: I3915cfabb9568480d74ea6d4e459def6fe912eb9
-rw-r--r--vcl/source/outdev/polyline.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/outdev/polyline.cxx b/vcl/source/outdev/polyline.cxx
index 07f2a10227db..e54dd0089dd0 100644
--- a/vcl/source/outdev/polyline.cxx
+++ b/vcl/source/outdev/polyline.cxx
@@ -289,7 +289,7 @@ bool OutputDevice::TryDrawPolyLineDirectNoAA(
// 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