diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2022-06-19 23:19:12 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2022-06-23 12:53:26 +0200 |
commit | b6dfa2b7472a55b92de95732a0067c3a2f586c51 (patch) | |
tree | a2ed1ec31104f4b2be4e9df1aa1c126c2a7f239f | |
parent | 46129115aa507609f97058fcf6f00786718b8c68 (diff) |
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
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
-rw-r--r-- | sw/source/ui/chrdlg/pardlg.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/fmtui/tmpdlg.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
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); } |