diff --git a/sw/source/uibase/shells/tabsh.cxx b/sw/source/uibase/shells/tabsh.cxx index 5caa0f95c54b..679f7efb5ae2 100644 --- a/sw/source/uibase/shells/tabsh.cxx +++ b/sw/source/uibase/shells/tabsh.cxx @@ -891,6 +891,11 @@ void SwTableShell::Execute(SfxRequest &rReq) size_t nIndex = aDlg.GetIndex(); if (nIndex < rFormats.size()) rSh.SetTableStyle(*rFormats.GetData(nIndex)); + else + { + TableStyleName aNone; + rSh.UpdateTableStyleFormatting(nullptr, false, &aNone); + } } break;