Don't assume sal_Unicode is unsigned short
Change-Id: I27da462b553ef11e9d9ce7873e8fedc3af8c6041
This commit is contained in:
@@ -65,7 +65,8 @@ namespace
|
|||||||
void append(rtl::OUStringBuffer & buffer, CFStringRef string) {
|
void append(rtl::OUStringBuffer & buffer, CFStringRef string) {
|
||||||
CFIndex n = CFStringGetLength(string);
|
CFIndex n = CFStringGetLength(string);
|
||||||
CFStringGetCharacters(
|
CFStringGetCharacters(
|
||||||
string, CFRangeMake(0, n), buffer.appendUninitialized(n));
|
string, CFRangeMake(0, n),
|
||||||
|
reinterpret_cast<UniChar *>(buffer.appendUninitialized(n)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user