sal/osl/unx/osxlocale.cxx | 20 -------------------- 1 file changed, 20 deletions(-)
New commits: commit 8488775513825114d6d78c3ac2e925000f85c8fa Author: Tor Lillqvist <t...@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: */ _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits