i18npool/source/localedata/LocaleNode.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ed2ca47393d06786bc055c3c6fa7f84c0f952f14
Author:     Noel Grandin <noel.gran...@collabora.co.uk>
AuthorDate: Wed Jun 14 11:17:29 2023 +0200
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Wed Jun 14 14:02:12 2023 +0200

    fix ubscan build
    
    after
        commit ee76ed70e97448082f4c00c5c4207a44e1a91617
        Author: Noel Grandin <noel.gran...@collabora.co.uk>
        Date:   Tue Jun 13 21:39:31 2023 +0200
        speed up startup time
    
    Change-Id: I577e2cccc9f17f417e7ae5ef0b8eaa5f90aed48c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153041
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>
    Tested-by: Jenkins

diff --git a/i18npool/source/localedata/LocaleNode.cxx 
b/i18npool/source/localedata/LocaleNode.cxx
index 08bf772321ad..b17203b3a59b 100644
--- a/i18npool/source/localedata/LocaleNode.cxx
+++ b/i18npool/source/localedata/LocaleNode.cxx
@@ -967,7 +967,7 @@ void LCFormatNode::generateCode (const OFileWriter &of) 
const
             of.writeOUStringFunction("getAllFormats0_", 
"FormatElementsCount0", "FormatElementsArray0", "replaceFrom0", "replaceTo0");
             break;
         case 1:
-            of.writeFunction("getAllFormats1_", "FormatElementsCount1", 
"FormatElementsArray1", "replaceFrom1", "replaceTo1");
+            of.writeOUStringFunction("getAllFormats1_", 
"FormatElementsCount1", "FormatElementsArray1", "replaceFrom1", "replaceTo1");
             break;
     }
 

Reply via email to