summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-17 22:28:10 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-17 22:28:10 +0100
commit4b7d3395cacbe729118b7c558413a33f38503d85 (patch)
treec5ff69001a0b8b5f5671568083d12e0c091c4afa /shell
parent6e6c0951870c9b1149755aa21be2ec5d7145f347 (diff)
Don't assume sal_Unicode is unsigned short
Change-Id: I721f53d79cd3e2c24542382d519a909a86a31111
Diffstat (limited to 'shell')
-rw-r--r--shell/source/backends/localebe/localebackend.cxx2
1 files changed, 1 insertions, 1 deletions
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>