Kaydet (Commit) be59130f authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Don't assume sal_Unicode is unsigned short

Change-Id: I0439e40b0843ba9a0939eb47e339f396d26f3c64
üst 3f448be5
...@@ -18,7 +18,7 @@ bool JvmfwkUtil_isLoadableJVM( OUString const & aURL ) ...@@ -18,7 +18,7 @@ bool JvmfwkUtil_isLoadableJVM( OUString const & aURL )
{ {
NSAutoreleasePool *pPool = [[NSAutoreleasePool alloc] init]; 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 ) if ( pString )
{ {
NSURL *pURL = nil; NSURL *pURL = nil;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment