sw/source/uibase/shells/basesh.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0f1bd7f0f79a054f1af1c5aadd81f586f2e4f879
Author:     Maxim Monastirsky <momonas...@gmail.com>
AuthorDate: Sun Feb 9 11:33:33 2020 +0200
Commit:     Maxim Monastirsky <momonas...@gmail.com>
CommitDate: Sun Feb 9 17:51:02 2020 +0100

    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 <momonas...@gmail.com>

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;
             }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to