[Libreoffice-commits] core.git: sal/osl

Tor Lillqvist tml at collabora.com
Thu Mar 6 09:20:54 PST 2014


 sal/osl/unx/osxlocale.cxx |   20 --------------------
 1 file changed, 20 deletions(-)

New commits:
commit 8488775513825114d6d78c3ac2e925000f85c8fa
Author: Tor Lillqvist <tml at collabora.com>
Date:   Thu Mar 6 18:22:40 2014 +0200

    Bin unused macxp_OSXConvertCFEncodingToIANACharSetName()
    
    Change-Id: I506940fd1b101d2c3f334e8d6608602c259b0a56

diff --git a/sal/osl/unx/osxlocale.cxx b/sal/osl/unx/osxlocale.cxx
index 0d9397c..969c467 100644
--- a/sal/osl/unx/osxlocale.cxx
+++ b/sal/osl/unx/osxlocale.cxx
@@ -96,24 +96,4 @@ int macosx_getLocale(char *locale, sal_uInt32 bufferLen)
 }
 }
 
-
-
-/*
- * macxp_OSXConvertCFEncodingToIANACharSetName
- *
- * Convert a CoreFoundation text encoding to an IANA charset name.
- */
-extern "C" int macxp_OSXConvertCFEncodingToIANACharSetName( char *buffer, unsigned int bufferLen, CFStringEncoding cfEncoding )
-{
-    CFStringRef sCFEncodingName;
-
-    sCFEncodingName = CFStringConvertEncodingToIANACharSetName( cfEncoding );
-    CFStringGetCString( sCFEncodingName, buffer, bufferLen, cfEncoding );
-
-    if ( sCFEncodingName )
-        CFRelease( sCFEncodingName );
-
-    return( noErr );
-}
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list