diff options
Diffstat (limited to 'l10ntools/source/help/HelpIndexer.cxx')
-rw-r--r-- | l10ntools/source/help/HelpIndexer.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/l10ntools/source/help/HelpIndexer.cxx b/l10ntools/source/help/HelpIndexer.cxx index 38d5639f18cb..341346490608 100644 --- a/l10ntools/source/help/HelpIndexer.cxx +++ b/l10ntools/source/help/HelpIndexer.cxx @@ -57,10 +57,7 @@ bool HelpIndexer::indexDocuments() { } rtl::OUString sLang = d_lang.getToken(0, '-'); - bool bUseCJK = - sLang.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("ja")) || - sLang.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("ko")) || - sLang.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("zh")); + bool bUseCJK = sLang == "ja" || sLang == "ko" || sLang == "zh"; // Construct the analyzer appropriate for the given language lucene::analysis::Analyzer *analyzer; |