diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-17 22:28:10 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-17 22:28:10 +0100 |
commit | 4b7d3395cacbe729118b7c558413a33f38503d85 (patch) | |
tree | c5ff69001a0b8b5f5671568083d12e0c091c4afa /i18npool/source/indexentry/indexentrysupplier_asian.cxx | |
parent | 6e6c0951870c9b1149755aa21be2ec5d7145f347 (diff) |
Don't assume sal_Unicode is unsigned short
Change-Id: I721f53d79cd3e2c24542382d519a909a86a31111
Diffstat (limited to 'i18npool/source/indexentry/indexentrysupplier_asian.cxx')
-rw-r--r-- | i18npool/source/indexentry/indexentrysupplier_asian.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/i18npool/source/indexentry/indexentrysupplier_asian.cxx b/i18npool/source/indexentry/indexentrysupplier_asian.cxx index aaaee94d52a3..110c73000487 100644 --- a/i18npool/source/indexentry/indexentrysupplier_asian.cxx +++ b/i18npool/source/indexentry/indexentrysupplier_asian.cxx @@ -196,7 +196,7 @@ IndexEntrySupplier_asian::getPhoneticCandidate( const OUString& rIndexEntry, candidate.append( reinterpret_cast<sal_Unicode *>(&idx[2][address])); else - candidate.append(address); + candidate.append(sal_Unicode(address)); } else candidate.append(" "); } |