diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2011-09-21 16:34:46 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2011-09-21 18:16:43 +0200 |
commit | 9ffee68dc027662fd8e6aa044d7ee01b0ed5df16 (patch) | |
tree | 25f265198a400f9ac4a17c6ccc73e30ddf4187b8 /sal/textenc/tables.cxx | |
parent | 6560e48afa53a0ca1ab9417ac2637f8d64332375 (diff) |
Cleaned up sal_textenc, making it work on Mac OS X.
Diffstat (limited to 'sal/textenc/tables.cxx')
-rw-r--r-- | sal/textenc/tables.cxx | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/sal/textenc/tables.cxx b/sal/textenc/tables.cxx index 8197f6810c49..3f96dcb3e7b5 100644 --- a/sal/textenc/tables.cxx +++ b/sal/textenc/tables.cxx @@ -26,13 +26,9 @@ * ************************************************************************/ -#ifdef IOS -#define Impl_getTextEncodingData tables_Impl_getTextEncodingData -#endif +#include "sal/config.h" -#ifndef INCLUDED_RTL_TEXTENC_GETTEXTENCODINGDATA_H -#include "gettextencodingdata.h" -#endif +#include "sal/types.h" #ifndef INCLUDED_RTL_TEXTENC_TENCHELP_H #include "tenchelp.h" @@ -129,8 +125,8 @@ static sal_uInt16 const aImplDoubleByteIdentifierTab[1] = { 0 }; #include "convertiso2022kr.tab" #include "convertadobe.tab" -ImplTextEncodingData const * -Impl_getTextEncodingData(rtl_TextEncoding nEncoding) +extern "C" ImplTextEncodingData const * sal_getFullTextEncodingData( + rtl_TextEncoding nEncoding) { static ImplTextEncodingData const * const aData[] = { NULL, /* DONTKNOW */ |