diff options
Diffstat (limited to 'svx/source/dialog/contwnd.cxx')
-rw-r--r-- | svx/source/dialog/contwnd.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/dialog/contwnd.cxx b/svx/source/dialog/contwnd.cxx index b25c123f27b6..e404154ed46d 100644 --- a/svx/source/dialog/contwnd.cxx +++ b/svx/source/dialog/contwnd.cxx @@ -31,7 +31,7 @@ using namespace css; -#define TRANSCOL Color(COL_WHITE) +#define TRANSCOL COL_WHITE ContourWindow::ContourWindow(vcl::Window* pParent, WinBits nBits) : GraphCtrl (pParent, nBits) @@ -224,8 +224,8 @@ void ContourWindow::Paint(vcl::RenderContext& rRenderContext, const tools::Recta const Graphic& rGraphic = GetGraphic(); rTarget.Push(PushFlags::LINECOLOR |PushFlags::FILLCOLOR); - rTarget.SetLineColor(Color(COL_BLACK)); - rTarget.SetFillColor(Color(COL_WHITE)); + rTarget.SetLineColor(COL_BLACK); + rTarget.SetFillColor(COL_WHITE); rTarget.DrawRect( tools::Rectangle( Point(), GetGraphicSize() ) ); rTarget.Pop(); |