diff --git a/cui/source/options/appearance.cxx b/cui/source/options/appearance.cxx index 9304ab269f52..bee1a48ef650 100644 --- a/cui/source/options/appearance.cxx +++ b/cui/source/options/appearance.cxx @@ -352,9 +352,6 @@ IMPL_LINK_NOARG(SvxAppearanceTabPage, ColorValueChgHdl, ColorListBox&, void) if (nEntry >= WINDOWCOLOR) m_bRestartRequired = true; - // set the color in pColorConfig - aCurrentEntryColor.nColor = m_xColorChangeBtn->GetSelectEntryColor(); - // use nColor for caching the value of color in use. This avoids tedious refactoring which IMO // would use function calls to discriminate between colors. Those functions themself call some virtual functions // making the whole thing super slow (comparatively).