diff options
author | Tor Lillqvist <tml@collabora.com> | 2016-11-23 00:21:37 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2016-11-23 00:25:07 +0200 |
commit | aa522981e6a0953e157fa13ec5193147653d317b (patch) | |
tree | b7a03524780a5eaf2468bbc9da514d3ffcce85b2 /svx/source | |
parent | 75fb3f79c3ba5e94740cea947527477bba50b358 (diff) |
Clear the color set before setting it up
Change-Id: I4c4e30be172e8fcb2b6d966f06540b9b1b62b9ad
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/tbxctrls/PaletteManager.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/svx/source/tbxctrls/PaletteManager.cxx b/svx/source/tbxctrls/PaletteManager.cxx index d08a2f37ff69..7342b25daaec 100644 --- a/svx/source/tbxctrls/PaletteManager.cxx +++ b/svx/source/tbxctrls/PaletteManager.cxx @@ -1096,6 +1096,7 @@ public: virtual void LoadColorSet( SvxColorValueSet& rColorSet ) override { + rColorSet.Clear(); for (size_t i = 0; i < SAL_N_ELEMENTS(aLibreColors); i++) { rColorSet.InsertItem(i, aLibreColors[i].mColor, OUString::createFromAscii(aLibreColors[i].mName)); |