diff options
author | Szabolcs Dezsi <dezsiszabi@hotmail.com> | 2012-04-06 19:49:53 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2012-04-06 20:03:42 +0200 |
commit | d6bc02f8c4cd0f50f0a2631ac7634dab408efc1f (patch) | |
tree | b5a12df1fcae025715633469b75ab4c9b6f6d279 /l10ntools/source/help | |
parent | 0e1c0587617e0a6e4295a13599e97cdf6d1d2ea9 (diff) |
Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Diffstat (limited to 'l10ntools/source/help')
-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; |