sw/source/ui/chrdlg/pardlg.cxx | 2 +- sw/source/ui/fmtui/tmpdlg.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit c22fc180845c4d170b412e8ea11a65dc7124a18a Author: Julien Nabet <serval2...@yahoo.fr> AuthorDate: Sun Jun 19 23:19:12 2022 +0200 Commit: Adolfo Jayme Barrientos <fit...@ubuntu.com> CommitDate: Sat Jun 25 05:40:22 2022 +0200 tdf#149615: "No list" twice in Outline & Style tab (non English UI only) Change-Id: I8a983b62175ed00ca8817556bd3e55fc87ddc9d7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136110 Reviewed-by: Julien Nabet <serval2...@yahoo.fr> (cherry picked from commit f340442cde0c3e91768adcef164b41b5556b3835) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136317 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fit...@ubuntu.com> diff --git a/sw/source/ui/chrdlg/pardlg.cxx b/sw/source/ui/chrdlg/pardlg.cxx index 232b9f8154df..e465cb7e84f3 100644 --- a/sw/source/ui/chrdlg/pardlg.cxx +++ b/sw/source/ui/chrdlg/pardlg.cxx @@ -215,7 +215,7 @@ void SwParaDlg::PageCreated(const OString& rId, SfxTabPage& rPage) aNames.insert(pBase->GetName()); pBase = pPool->Next(); } - aNames.erase("No List"); + aNames.erase(SwResId(STR_POOLNUMRULE_NOLIST)); for (const auto& rName : aNames) rBox.append_text(rName); } diff --git a/sw/source/ui/fmtui/tmpdlg.cxx b/sw/source/ui/fmtui/tmpdlg.cxx index 184401b134f8..aa3c9e5eacf6 100644 --- a/sw/source/ui/fmtui/tmpdlg.cxx +++ b/sw/source/ui/fmtui/tmpdlg.cxx @@ -457,7 +457,7 @@ void SwTemplateDlgController::PageCreated(const OString& rId, SfxTabPage &rPage aNames.insert(pBase->GetName()); pBase = pPool->Next(); } - aNames.erase("No List"); + aNames.erase(SwResId(STR_POOLNUMRULE_NOLIST)); for(std::set<OUString>::const_iterator it = aNames.begin(); it != aNames.end(); ++it) rBox.append_text(*it); }