summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorobo <obo@openoffice.org>2010-11-12 08:08:56 +0100
committerobo <obo@openoffice.org>2010-11-12 08:08:56 +0100
commitd9d5b04b12df37939faacc45524aebad560836bc (patch)
tree624154bd25c2cfab62c7f61c5f36b0baea130ff3 /vcl/source
parent0c7dec23f57ba606b74c066e7f9e4305de33cafb (diff)
parent05b9f3f8c98a9d31527a837bae44a908a4f6b2c5 (diff)
CWS-TOOLING: integrate CWS sw33bf12
Notes
Notes: split repo tag: libs-gui_ooo/OOO330_m15 split repo tag: libs-gui_ooo/OOO330_m16
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/gdi/outdev.cxx6
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 );
}