diff options
Diffstat (limited to 'sal/osl/unx/osxlocale.cxx')
-rw-r--r-- | sal/osl/unx/osxlocale.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sal/osl/unx/osxlocale.cxx b/sal/osl/unx/osxlocale.cxx index fecb2dc1e67e..6f4f028b0ca9 100644 --- a/sal/osl/unx/osxlocale.cxx +++ b/sal/osl/unx/osxlocale.cxx @@ -65,7 +65,8 @@ namespace void append(rtl::OUStringBuffer & buffer, CFStringRef string) { CFIndex n = CFStringGetLength(string); CFStringGetCharacters( - string, CFRangeMake(0, n), buffer.appendUninitialized(n)); + string, CFRangeMake(0, n), + reinterpret_cast<UniChar *>(buffer.appendUninitialized(n))); } } |