Kaydet (Commit) aa522981 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Clear the color set before setting it up

Change-Id: I4c4e30be172e8fcb2b6d966f06540b9b1b62b9ad
üst 75fb3f79
......@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment