summaryrefslogtreecommitdiff
path: root/sal/textenc
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2011-05-24 23:40:10 +0300
committerTor Lillqvist <tml@iki.fi>2011-05-25 02:16:11 +0300
commit7e65812a54b164452d03ac380f88317b3cc61119 (patch)
tree29c9b8003aef80c8b8bc56fd023ba75bdd36e56e /sal/textenc
parent04b47c97e4eb54eee077ac28feb67a7b46ad3ff5 (diff)
Compilation fix for iOS
Diffstat (limited to 'sal/textenc')
-rw-r--r--sal/textenc/tables.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/sal/textenc/tables.cxx b/sal/textenc/tables.cxx
index 0d91d36be3d6..00d78110106b 100644
--- a/sal/textenc/tables.cxx
+++ b/sal/textenc/tables.cxx
@@ -127,6 +127,12 @@ 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 */