summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/svx/dlgctrl.hxx1
-rw-r--r--svx/source/dialog/dlgctrl.cxx2
2 files changed, 1 insertions, 2 deletions
diff --git a/include/svx/dlgctrl.hxx b/include/svx/dlgctrl.hxx
index 612548934266..0f2bc33f0e18 100644
--- a/include/svx/dlgctrl.hxx
+++ b/include/svx/dlgctrl.hxx
@@ -153,7 +153,6 @@ protected:
sal_uInt16 nLines, nSquares;
Color aPixelColor;
Color aBackgroundColor;
- Color aLineColor;
Size aRectSize;
sal_uInt16* pPixel;
bool bPaintable;
diff --git a/svx/source/dialog/dlgctrl.cxx b/svx/source/dialog/dlgctrl.cxx
index 8dfad90aaae1..e031b940a0b8 100644
--- a/svx/source/dialog/dlgctrl.cxx
+++ b/svx/source/dialog/dlgctrl.cxx
@@ -806,7 +806,7 @@ void SvxPixelCtl::Paint( vcl::RenderContext& rRenderContext, const tools::Rectan
if (bPaintable)
{
// Draw lines
- rRenderContext.SetLineColor(aLineColor);
+ rRenderContext.SetLineColor(Color());
for (i = 1; i < nLines; i++)
{
// horizontal