diff options
-rw-r--r-- | i18npool/source/indexentry/indexentrysupplier_asian.cxx | 2 | ||||
-rw-r--r-- | shell/source/backends/localebe/localebackend.cxx | 2 |
2 files changed, 2 insertions, 2 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(" "); } diff --git a/shell/source/backends/localebe/localebackend.cxx b/shell/source/backends/localebe/localebackend.cxx index b147b67dc0f7..5a6311f068d2 100644 --- a/shell/source/backends/localebe/localebackend.cxx +++ b/shell/source/backends/localebe/localebackend.cxx @@ -70,7 +70,7 @@ namespace /* private */ { CFIndex lstr = CFStringGetLength(s); for (CFIndex i = 0; i < lstr; i++) - buffer.append(CFStringGetCharacterAtIndex(s, i)); + buffer.append(sal_Unicode(CFStringGetCharacterAtIndex(s, i))); } template <typename T> |