summaryrefslogtreecommitdiff
path: root/i18nutil
diff options
context:
space:
mode:
Diffstat (limited to 'i18nutil')
-rw-r--r--i18nutil/source/utility/widthfolding.cxx4
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);
}