diff options
author | Anshu <anshukhare50@gmail.com> | 2021-03-07 23:39:32 +0530 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2021-03-29 14:08:10 +0200 |
commit | a56aa46fcc62227df7dc9a8fa04205e8ff5ed2a1 (patch) | |
tree | 04fdc8d9ae2afb74b52109dbafba560dd951ed9b /sw/source/ui/fmtui | |
parent | e2581a9a20112af171ec22ad23d52671f8f94c94 (diff) |
tdf#101965 : Add No List default in Styles deck in sidebar
Change-Id: I167b379f31809bc252d3c091d0f545f8c2a3f13e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112143
Tested-by: Jenkins
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sw/source/ui/fmtui')
-rw-r--r-- | sw/source/ui/fmtui/tmpdlg.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/ui/fmtui/tmpdlg.cxx b/sw/source/ui/fmtui/tmpdlg.cxx index ff6dd3e6bb45..7c6ac6406fe3 100644 --- a/sw/source/ui/fmtui/tmpdlg.cxx +++ b/sw/source/ui/fmtui/tmpdlg.cxx @@ -460,6 +460,7 @@ void SwTemplateDlgController::PageCreated(const OString& rId, SfxTabPage &rPage aNames.insert(pBase->GetName()); pBase = pPool->Next(); } + aNames.erase("No List"); for(std::set<OUString>::const_iterator it = aNames.begin(); it != aNames.end(); ++it) rBox.append_text(*it); } |