diff options
Diffstat (limited to 'avmedia/source/macavf/player.mm')
-rw-r--r-- | avmedia/source/macavf/player.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/avmedia/source/macavf/player.mm b/avmedia/source/macavf/player.mm index bbe9bf373e09..cb366c0bb12c 100644 --- a/avmedia/source/macavf/player.mm +++ b/avmedia/source/macavf/player.mm @@ -122,7 +122,7 @@ bool Player::handleObservation( NSString* pKeyPath ) bool Player::create( const ::rtl::OUString& rURL ) { // get the media asset - NSString* aNSStr = [NSString stringWithCharacters:rURL.getStr() length:rURL.getLength()]; + NSString* aNSStr = [NSString stringWithCharacters:reinterpret_cast<unichar const *>(rURL.getStr()) length:rURL.getLength()]; SAL_WNODEPRECATED_DECLARATIONS_PUSH //TODO: 10.11 stringByAddingPercentEscapesUsingEncoding NSURL* aNSURL = [NSURL URLWithString: [aNSStr stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]]; |