Don't assume sal_Unicode is unsigned short

Change-Id: I0439e40b0843ba9a0939eb47e339f396d26f3c64
This commit is contained in:
Stephan Bergmann
2015-11-17 10:39:20 +01:00
parent 3f448be5d8
commit be59130fa4

View File

@@ -18,7 +18,7 @@ bool JvmfwkUtil_isLoadableJVM( OUString const & aURL )
{
NSAutoreleasePool *pPool = [[NSAutoreleasePool alloc] init];
NSString *pString = [NSString stringWithCharacters:aURL.getStr() length:aURL.getLength()];
NSString *pString = [NSString stringWithCharacters:reinterpret_cast<unichar const *>(aURL.getStr()) length:aURL.getLength()];
if ( pString )
{
NSURL *pURL = nil;