Kaydet (Commit) 247cec2c authored tarafından Tor Lillqvist's avatar Tor Lillqvist

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
üst fc0f5f65
...@@ -171,11 +171,19 @@ extern "C" SAL_DLLPUBLIC_EXPORT ImplTextEncodingData const * ...@@ -171,11 +171,19 @@ extern "C" SAL_DLLPUBLIC_EXPORT ImplTextEncodingData const *
&aImplGBT12345TextEncodingData, /* GBT_12345 */ &aImplGBT12345TextEncodingData, /* GBT_12345 */
&aImplGBKTextEncodingData, /* GBK */ &aImplGBKTextEncodingData, /* GBK */
&aImplBIG5TextEncodingData, /* BIG5 */ &aImplBIG5TextEncodingData, /* BIG5 */
#ifndef IOS
&aImplEUCJPTextEncodingData, /* EUC_JP */ &aImplEUCJPTextEncodingData, /* EUC_JP */
&aImplEUCCNTextEncodingData, /* EUC_CN */ &aImplEUCCNTextEncodingData, /* EUC_CN */
&aImplEucTwTextEncodingData, /* EUC_TW */ &aImplEucTwTextEncodingData, /* EUC_TW */
&aImplIso2022JpTextEncodingData, /* ISO_2022_JP */ &aImplIso2022JpTextEncodingData, /* ISO_2022_JP */
&aImplIso2022CnTextEncodingData, /* ISO_2022_CN */ &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 */ &aImplKOI8RTextEncodingData, /* KOI8_R */
&aImplUTF7TextEncodingData, /* UTF7 */ &aImplUTF7TextEncodingData, /* UTF7 */
NULL, /* UTF8, see above */ NULL, /* UTF8, see above */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment