diff options
Diffstat (limited to 'i18npool/source')
-rw-r--r-- | i18npool/source/localedata/LocaleNode.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/i18npool/source/localedata/LocaleNode.cxx b/i18npool/source/localedata/LocaleNode.cxx index 15c6a2f69ca1..f9436d5ddf9a 100644 --- a/i18npool/source/localedata/LocaleNode.cxx +++ b/i18npool/source/localedata/LocaleNode.cxx @@ -796,9 +796,7 @@ void LCFormatNode::generateCode (const OFileWriter &of) const if (n100s < 0) incErrorInt( "Error: Time100SecSeparator not present in FormatCode formatindex=\"%d\".\n", formatindex); - OUStringBuffer a100s( pSep->getValue()); - a100s.append( "00"); - n100s = aCode.indexOf( a100s.makeStringAndClear()); + n100s = aCode.indexOf( pSep->getValue() + "00"); if (n100s < 0) incErrorInt( "Error: Time100SecSeparator+00 not present in FormatCode formatindex=\"%d\".\n", formatindex); |