diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-03-06 18:22:40 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-03-06 19:20:24 +0200 |
commit | 8488775513825114d6d78c3ac2e925000f85c8fa (patch) | |
tree | 4ee79471d5dcef816e46e764a03be48018834579 /sal/osl/unx/osxlocale.cxx | |
parent | 61238e11837c6a25666a1edbf4914c27b53a310b (diff) |
Bin unused macxp_OSXConvertCFEncodingToIANACharSetName()
Change-Id: I506940fd1b101d2c3f334e8d6608602c259b0a56
Diffstat (limited to 'sal/osl/unx/osxlocale.cxx')
-rw-r--r-- | sal/osl/unx/osxlocale.cxx | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/sal/osl/unx/osxlocale.cxx b/sal/osl/unx/osxlocale.cxx index 0d9397cd0912..969c467dcaaa 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: */ |