sw/source/ui/chrdlg/pardlg.cxx |    2 +-
 sw/source/ui/fmtui/tmpdlg.cxx  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit b6dfa2b7472a55b92de95732a0067c3a2f586c51
Author:     Julien Nabet <serval2...@yahoo.fr>
AuthorDate: Sun Jun 19 23:19:12 2022 +0200
Commit:     Julien Nabet <serval2...@yahoo.fr>
CommitDate: Thu Jun 23 12:53:26 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
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2...@yahoo.fr>

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);
         }

Reply via email to