summaryrefslogtreecommitdiff
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
commit36ef734fd1f84bf94d7c4d27f22274940efd5373 (patch)
tree000919165383a2bbad1755016e340c45a95aee7c
parent6b215da7a888c0d156b83d134c86fe20428c3e5a (diff)
parent981263e8fa2daa6c906bb60c4d72121152a852fd (diff)
CWS-TOOLING: integrate CWS sw33bf12ooo/OOO330_m16ooo/OOO330_m15
-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 7038b2952c..b9cc003d38 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 );
}