i18npool/source/search/textsearch.cxx TransliterationModules bug?
Michael Stahl
mstahl at redhat.com
Mon Mar 23 07:49:35 PDT 2015
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?
More information about the LibreOffice
mailing list