[Libreoffice-commits] core.git: Branch 'libreoffice-6-0' - sw/source

Jim Raykowski raykowj at gmail.com
Tue Feb 13 22:00:12 UTC 2018


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

New commits:
commit 55b37cc3ade30257858515b1a062ff9130488a5f
Author: Jim Raykowski <raykowj at gmail.com>
Date:   Tue Feb 6 22:50:02 2018 -0900

    tdf#108227 Set table style so it is highlighted in Sidebar styles list
    
    Change-Id: I930085839c9ab7297e492c1463b54d41c087361c
    Reviewed-on: https://gerrit.libreoffice.org/49338
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
    (cherry picked from commit d1b13f486eacc60c9b71ec9f1b29cde2f4504d4e)
    Reviewed-on: https://gerrit.libreoffice.org/49658
    Reviewed-by: Katarina Behrens <Katarina.Behrens at cib.de>

diff --git a/sw/source/uibase/shells/basesh.cxx b/sw/source/uibase/shells/basesh.cxx
index 9d907536b750..b938767159bb 100644
--- a/sw/source/uibase/shells/basesh.cxx
+++ b/sw/source/uibase/shells/basesh.cxx
@@ -2710,6 +2710,8 @@ void SwBaseShell::InsertTable( SfxRequest& _rRequest )
 
                 if( pTAFormat == nullptr )
                     rSh.SetTableStyle( SwStyleNameMapper::GetUIName( RES_POOLTABSTYLE_DEFAULT, OUString() ) );
+                else
+                    rSh.SetTableStyle( aAutoName );
 
                 rSh.EndAllAction();
                 rTempView.AutoCaption(TABLE_CAP);


More information about the Libreoffice-commits mailing list