Don't assume sal_Unicode is unsigned short
Change-Id: I0439e40b0843ba9a0939eb47e339f396d26f3c64
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user