diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-20 13:54:57 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-31 12:09:00 +0200 |
commit | 4732e65646016087d772adb3a0b55c166b35356d (patch) | |
tree | 76285ed978ddce19355fe993391172aeb575d69b /sw/source/uibase/sidebar | |
parent | b6e32d53ce9c98bfba517c40f53d40e97a091b0e (diff) |
loplugin:unusedfields in sw
Change-Id: Iad2bddb2359af3e7da40175d17d2d3ed7eda5be6
Reviewed-on: https://gerrit.libreoffice.org/40229
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/sidebar')
-rw-r--r-- | sw/source/uibase/sidebar/ThemePanel.cxx | 5 |
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; } |