summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2020-02-09 11:33:33 +0200
committerMaxim Monastirsky <momonasmon@gmail.com>2020-02-09 17:51:02 +0100
commit0f1bd7f0f79a054f1af1c5aadd81f586f2e4f879 (patch)
treece86beb2b6248839c288cb950b959cd4e9d9ec48
parent037493635fa4e48ec4e7cc8ec8d76ca1f55cd1c6 (diff)
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 <momonasmon@gmail.com>
-rw-r--r--sw/source/uibase/shells/basesh.cxx2
1 files changed, 1 insertions, 1 deletions
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;
}