[Libreoffice-commits] .: avmedia/source

Tor Lillqvist tml at kemper.freedesktop.org
Thu Sep 29 00:03:12 PDT 2011


 avmedia/source/quicktime/player.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 021a3772323092a03b5f24000b35ed6a6daf481b
Author: Tor Lillqvist <tml at iki.fi>
Date:   Thu Sep 29 10:00:35 2011 +0300

    Use NSString's UTF8String method instead of the deprecated cString

diff --git a/avmedia/source/quicktime/player.cxx b/avmedia/source/quicktime/player.cxx
index 8b623e9..f7efb51 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];


More information about the Libreoffice-commits mailing list