diff options
Diffstat (limited to 'avmedia/source/macavf/framegrabber.mm')
-rw-r--r-- | avmedia/source/macavf/framegrabber.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/avmedia/source/macavf/framegrabber.mm b/avmedia/source/macavf/framegrabber.mm index 7fcf287fd58f..bf54b01e042b 100644 --- a/avmedia/source/macavf/framegrabber.mm +++ b/avmedia/source/macavf/framegrabber.mm @@ -49,7 +49,7 @@ FrameGrabber::~FrameGrabber() bool FrameGrabber::create( const ::rtl::OUString& rURL ) { - NSString* pNSStr = [NSString stringWithCharacters:rURL.getStr() length:rURL.getLength()]; + NSString* pNSStr = [NSString stringWithCharacters:reinterpret_cast<unichar const *>(rURL.getStr()) length:rURL.getLength()]; SAL_WNODEPRECATED_DECLARATIONS_PUSH //TODO: 10.11 stringByAddingPercentEscapesUsingEncoding NSURL* pNSURL = [NSURL URLWithString: [pNSStr stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]]; |