summaryrefslogtreecommitdiff
path: root/sal/textenc/tables.cxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2011-08-03 01:08:48 +0300
committerTor Lillqvist <tml@iki.fi>2011-08-03 01:09:10 +0300
commit2dca38540ec89dfeceae130db5cf40b3505f1d97 (patch)
tree222d899192fe1a784c1386ec929feeb6e54f634f /sal/textenc/tables.cxx
parent6e9180264d7277979ed575c6e693493535e143dc (diff)
Don't use dynamic loading on iOS
Diffstat (limited to 'sal/textenc/tables.cxx')
-rw-r--r--sal/textenc/tables.cxx10
1 files changed, 4 insertions, 6 deletions
diff --git a/sal/textenc/tables.cxx b/sal/textenc/tables.cxx
index 00d78110106b..8197f6810c49 100644
--- a/sal/textenc/tables.cxx
+++ b/sal/textenc/tables.cxx
@@ -26,6 +26,10 @@
*
************************************************************************/
+#ifdef IOS
+#define Impl_getTextEncodingData tables_Impl_getTextEncodingData
+#endif
+
#ifndef INCLUDED_RTL_TEXTENC_GETTEXTENCODINGDATA_H
#include "gettextencodingdata.h"
#endif
@@ -127,12 +131,6 @@ static sal_uInt16 const aImplDoubleByteIdentifierTab[1] = { 0 };
ImplTextEncodingData const *
Impl_getTextEncodingData(rtl_TextEncoding nEncoding)
-#ifdef IOS
- // Dunno if the g++ for iOS is just pickier, or why other g++
- // versions don't complain about the lack of throw to match the
- // one in the declaration in gettextencodingdata.h.o
- SAL_THROW_EXTERN_C()
-#endif
{
static ImplTextEncodingData const * const aData[]
= { NULL, /* DONTKNOW */