sw/source/core/edit/edfcol.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit bb7d9c47982aa83e8462fa82f470a3bb55eb2874
Author:     Michael Stahl <michael.st...@allotropia.de>
AuthorDate: Wed Dec 11 11:22:19 2024 +0100
Commit:     Michael Stahl <michael.st...@allotropia.de>
CommitDate: Wed Dec 11 12:58:08 2024 +0100

    tdf#159549 sw: lcl_getUsedPageStyles() needs to use FillProgName()
    
    ... not FillUIName().
    
    Thanks to Noel Grandin for pointing out this mistake in commit
    0bc6fe5c1b889496fb83730545f9c8593ca65863
    
    Change-Id: I4b86ec7363b2a09d3e328b6d77772db63873795f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178301
    Tested-by: Jenkins
    Reviewed-by: Michael Stahl <michael.st...@allotropia.de>

diff --git a/sw/source/core/edit/edfcol.cxx b/sw/source/core/edit/edfcol.cxx
index 08bf9a624fd8..165ef5eec354 100644
--- a/sw/source/core/edit/edfcol.cxx
+++ b/sw/source/core/edit/edfcol.cxx
@@ -134,7 +134,7 @@ std::vector<OUString> lcl_getUsedPageStyles(SwViewShell 
const * pShell)
         if (const SwPageDesc *pDesc = pPage->FindPageDesc())
         {
             OUString sStyleName;
-            SwStyleNameMapper::FillUIName(pDesc->GetName(), sStyleName, 
SwGetPoolIdFromName::PageDesc);
+            SwStyleNameMapper::FillProgName(pDesc->GetName(), sStyleName, 
SwGetPoolIdFromName::PageDesc);
             aReturn.push_back(sStyleName);
         }
     }

Reply via email to