summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-06-14 11:17:29 +0200
committerStephan Bergmann <sbergman@redhat.com>2023-06-14 14:02:12 +0200
commited2ca47393d06786bc055c3c6fa7f84c0f952f14 (patch)
treeeb3d366706aefe32c5d3ccc3e5b27c333c0a1e40 /i18npool
parent71075740aee2e15f574d19d452f0a586e25a6bd0 (diff)
fix ubscan build
after commit ee76ed70e97448082f4c00c5c4207a44e1a91617 Author: Noel Grandin <noel.grandin@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 <sbergman@redhat.com> Tested-by: Jenkins
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/source/localedata/LocaleNode.cxx2
1 files changed, 1 insertions, 1 deletions
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;
}