sw/source/uibase/shells/basesh.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 55b37cc3ade30257858515b1a062ff9130488a5f Author: Jim Raykowski <rayk...@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 <c...@libreoffice.org> Reviewed-by: Thorsten Behrens <thorsten.behr...@cib.de> (cherry picked from commit d1b13f486eacc60c9b71ec9f1b29cde2f4504d4e) Reviewed-on: https://gerrit.libreoffice.org/49658 Reviewed-by: Katarina Behrens <katarina.behr...@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); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits