Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index



this is a bit suspicious:

static const sal_Int32 COMPLEX_TRANS_MASK =
    COMPLEX_TRANS_MASK_TMP |
    TransliterationModules_IGNORE_KANA |
    TransliterationModules_FULLWIDTH_HALFWIDTH;

the FULLWIDTH_HALFWIDTH value is 4 and the TransliterationModules enum
is very odd in that it is basically split into 2 ranges and values <
0xFF are not to be used as bitflags, whereas values > 0xFF are always
defined as single bits.

using FULLWIDTH_HALFWIDTH in the mask looks like it would affect the
value NumToTextFormalLower_ko = 12 as well which is probably not
intentional?



Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.