[Libreoffice-commits] core.git: sw/source
Jim Raykowski
raykowj at gmail.com
Tue Feb 13 14:00:27 UTC 2018
sw/source/uibase/shells/basesh.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit d1b13f486eacc60c9b71ec9f1b29cde2f4504d4e
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>
diff --git a/sw/source/uibase/shells/basesh.cxx b/sw/source/uibase/shells/basesh.cxx
index 59489539f875..2a4acb63a607 100644
--- a/sw/source/uibase/shells/basesh.cxx
+++ b/sw/source/uibase/shells/basesh.cxx
@@ -2711,6 +2711,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