Bypass EUC and ISO-2022 encoding tables for iOS

It is questionable whether they are needed for any document
format. Saves 0.4 MB of app executable size. If it turns out that some
document format that support is needed for actually does need these
tables, will have to revert this then. An alternative, but more
complex, way to save executable size would be to put this, and other,
conversion data into a data file instead.

Change-Id: I017e8f15626023af1344964be54c09fe2d937acc
This commit is contained in:
Tor Lillqvist
2014-04-22 16:55:13 +03:00
parent fc0f5f6548
commit 247cec2c11

View File

@@ -171,11 +171,19 @@ extern "C" SAL_DLLPUBLIC_EXPORT ImplTextEncodingData const *
&aImplGBT12345TextEncodingData, /* GBT_12345 */
&aImplGBKTextEncodingData, /* GBK */
&aImplBIG5TextEncodingData, /* BIG5 */
#ifndef IOS
&aImplEUCJPTextEncodingData, /* EUC_JP */
&aImplEUCCNTextEncodingData, /* EUC_CN */
&aImplEucTwTextEncodingData, /* EUC_TW */
&aImplIso2022JpTextEncodingData, /* ISO_2022_JP */
&aImplIso2022CnTextEncodingData, /* ISO_2022_CN */
#else
NULL, /* EUC_JP */
NULL, /* EUC_CN */
NULL, /* EUC_TW */
NULL, /* ISO_2022_JP */
NULL, /* ISO_2022_CN */
#endif
&aImplKOI8RTextEncodingData, /* KOI8_R */
&aImplUTF7TextEncodingData, /* UTF7 */
NULL, /* UTF8, see above */