[Libreoffice-commits] core.git: sw/source

Maxim Monastirsky (via logerrit) logerrit at kemper.freedesktop.org
Sun Feb 9 16:51:42 UTC 2020


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

New commits:
commit 0f1bd7f0f79a054f1af1c5aadd81f586f2e4f879
Author:     Maxim Monastirsky <momonasmon at gmail.com>
AuthorDate: Sun Feb 9 11:33:33 2020 +0200
Commit:     Maxim Monastirsky <momonasmon at 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 <momonasmon at 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;
             }


More information about the Libreoffice-commits mailing list