diff options
author | obo <obo@openoffice.org> | 2010-11-12 08:08:56 +0100 |
---|---|---|
committer | obo <obo@openoffice.org> | 2010-11-12 08:08:56 +0100 |
commit | d9d5b04b12df37939faacc45524aebad560836bc (patch) | |
tree | 624154bd25c2cfab62c7f61c5f36b0baea130ff3 | |
parent | 0c7dec23f57ba606b74c066e7f9e4305de33cafb (diff) | |
parent | 05b9f3f8c98a9d31527a837bae44a908a4f6b2c5 (diff) |
CWS-TOOLING: integrate CWS sw33bf12
Notes
Notes:
split repo tag: libs-gui_ooo/OOO330_m15
split repo tag: libs-gui_ooo/OOO330_m16
-rw-r--r-- | vcl/source/gdi/outdev.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/gdi/outdev.cxx b/vcl/source/gdi/outdev.cxx index a011e4ee4a92..847a8d7a299a 100644 --- a/vcl/source/gdi/outdev.cxx +++ b/vcl/source/gdi/outdev.cxx @@ -2495,6 +2495,9 @@ void OutputDevice::DrawLine( const Point& rStartPt, const Point& rEndPt, const bool bDashUsed(LINE_DASH == aInfo.GetStyle()); const bool bLineWidthUsed(aInfo.GetWidth() > 1); + if ( mbInitLineColor ) + ImplInitLineColor(); + if(bDashUsed || bLineWidthUsed) { basegfx::B2DPolygon aLinePolygon; @@ -2505,9 +2508,6 @@ void OutputDevice::DrawLine( const Point& rStartPt, const Point& rEndPt, } else { - if ( mbInitLineColor ) - ImplInitLineColor(); - mpGraphics->DrawLine( aStartPt.X(), aStartPt.Y(), aEndPt.X(), aEndPt.Y(), this ); } |