diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-04-28 17:56:51 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-04-28 18:26:59 +0200 |
commit | 01eeb20ffe7266ad630f89ff40720ac0c755d7fa (patch) | |
tree | bf31dad4790fef955090669437edf33e8f650beb /i18nutil | |
parent | b75968c8c31d2ce191a5cfa76cac86c9832d3f96 (diff) |
loplugin:salunicodeliteral: i18nutil
Change-Id: Ie7dfc21fccbeed5005c2b881ff593853513b13e1
Diffstat (limited to 'i18nutil')
-rw-r--r-- | i18nutil/source/utility/widthfolding.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/i18nutil/source/utility/widthfolding.cxx b/i18nutil/source/utility/widthfolding.cxx index c98acb4a3e8a..acc413598613 100644 --- a/i18nutil/source/utility/widthfolding.cxx +++ b/i18nutil/source/utility/widthfolding.cxx @@ -83,7 +83,7 @@ OUString widthfolding::decompose_ja_voiced_sound_marks (const OUString& inStr, s if (useOffset) *p ++ = position ++; } - *dst = (sal_Unicode) 0; + *dst = u'\0'; newStr->length = sal_Int32(dst - newStr->buffer); if (useOffset) @@ -187,7 +187,7 @@ OUString widthfolding::compose_ja_voiced_sound_marks (const OUString& inStr, sal *dst ++ = previousChar; } - *dst = (sal_Unicode) 0; + *dst = u'\0'; newStr->length = sal_Int32(dst - newStr->buffer); } |