summaryrefslogtreecommitdiff
path: root/sw/source/uibase/sidebar/ThemePanel.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/sidebar/ThemePanel.cxx')
-rw-r--r--sw/source/uibase/sidebar/ThemePanel.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/sw/source/uibase/sidebar/ThemePanel.cxx b/sw/source/uibase/sidebar/ThemePanel.cxx
index 57539a56b6e7..cb5318dc19d7 100644
--- a/sw/source/uibase/sidebar/ThemePanel.cxx
+++ b/sw/source/uibase/sidebar/ThemePanel.cxx
@@ -52,18 +52,15 @@ class ColorVariable
{
public:
long mnIndex;
- Color maColor;
sal_Int16 mnTintShade;
ColorVariable()
: mnIndex(-1)
- , maColor()
, mnTintShade()
{}
ColorVariable(long nIndex, sal_Int16 nTintShade)
: mnIndex(nIndex)
- , maColor()
, mnTintShade(nTintShade)
{}
};
@@ -95,7 +92,7 @@ public:
}
else
{
- aColor.SetColor(maVariable.maColor.GetColor());
+ aColor.SetColor(COL_BLACK);
}
return aColor;
}