From 0f1bd7f0f79a054f1af1c5aadd81f586f2e4f879 Mon Sep 17 00:00:00 2001 From: Maxim Monastirsky Date: Sun, 9 Feb 2020 11:33:33 +0200 Subject: Current color isn't highlighted in the table cell background toolbar dropdown Change-Id: I32e29d8697a5b6ba914b7ccc030e840b31c38b74 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88307 Tested-by: Jenkins Reviewed-by: Maxim Monastirsky --- sw/source/uibase/shells/basesh.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sw/source/uibase/shells/basesh.cxx b/sw/source/uibase/shells/basesh.cxx index b3373d2cd85c..55a0293a47c8 100644 --- a/sw/source/uibase/shells/basesh.cxx +++ b/sw/source/uibase/shells/basesh.cxx @@ -2291,7 +2291,7 @@ void SwBaseShell::GetBckColState(SfxItemSet &rSet) case SID_BACKGROUND_COLOR: case SID_TABLE_CELL_BACKGROUND_COLOR: { - SvxColorItem aColorItem(aBrushItem->GetColor(),SID_BACKGROUND_COLOR); + SvxColorItem aColorItem(aBrushItem->GetColor(), nWhich); rSet.Put(aColorItem); break; } -- cgit