diff options
Diffstat (limited to 'svx/source/dialog/contwnd.cxx')
-rw-r--r-- | svx/source/dialog/contwnd.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/dialog/contwnd.cxx b/svx/source/dialog/contwnd.cxx index 95a5cb650e35..976897b6bae2 100644 --- a/svx/source/dialog/contwnd.cxx +++ b/svx/source/dialog/contwnd.cxx @@ -246,8 +246,8 @@ void ContourWindow::Paint(vcl::RenderContext& rRenderContext, const tools::Recta { tools::PolyPolygon _aPolyPoly(2); rTarget.Push(vcl::PushFlags::FILLCOLOR); - _aPolyPoly.Insert(tools::Rectangle(Point(), GetGraphicSize())); - _aPolyPoly.Insert(aWorkRect); + _aPolyPoly.Insert(tools::Polygon(tools::Rectangle(Point(), GetGraphicSize()))); + _aPolyPoly.Insert(tools::Polygon(aWorkRect)); rTarget.SetFillColor(COL_LIGHTRED); rTarget.DrawTransparent(_aPolyPoly, 50); rTarget.Pop(); |