summaryrefslogtreecommitdiff
path: root/avmedia
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2011-09-29 10:00:35 +0300
committerTor Lillqvist <tml@iki.fi>2011-09-29 10:02:59 +0300
commit021a3772323092a03b5f24000b35ed6a6daf481b (patch)
tree8c1439028b21d31d16359cf8579665966d8df2bf /avmedia
parentef01fae2759ac225f281f11a2b24ebaad40be941 (diff)
Use NSString's UTF8String method instead of the deprecated cString
Diffstat (limited to 'avmedia')
-rw-r--r--avmedia/source/quicktime/player.cxx2
1 files changed, 1 insertions, 1 deletions
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];