Clear the color set before setting it up
Change-Id: I4c4e30be172e8fcb2b6d966f06540b9b1b62b9ad
This commit is contained in:
@@ -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));
|
||||
|
Reference in New Issue
Block a user