From 021a3772323092a03b5f24000b35ed6a6daf481b Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Thu, 29 Sep 2011 10:00:35 +0300 Subject: Use NSString's UTF8String method instead of the deprecated cString --- avmedia/source/quicktime/player.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'avmedia') diff --git a/avmedia/source/quicktime/player.cxx b/avmedia/source/quicktime/player.cxx index 8b623e93c8ce..f7efb51b8471 100644 --- a/avmedia/source/quicktime/player.cxx +++ b/avmedia/source/quicktime/player.cxx @@ -152,7 +152,7 @@ bool Player::create( const ::rtl::OUString& rURL ) { OSL_TRACE( "NSMovie create failed with error %ld (%s)", (long)[pErr code], - [[pErr localizedDescription] cString] + [[pErr localizedDescription] UTF8String] ); } [pool release]; -- cgit v1.2.3