From a3f32769fc4bb23c64168b412dd10ec769a3854d Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 21 Jan 2014 15:53:55 +0100 Subject: Fix bogus mass-conversion equalsAsciiL -> startsWith 3af99e4d59d89c343965a928681a30f36b1007d2 "convert equalsAsciiL calls to startsWith calls" should rather have converted to oprator ==. Change-Id: Id4a8836c5d6d570e54661c40be7214632e202b21 --- i18npool/source/collator/collator_unicode.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'i18npool/source') diff --git a/i18npool/source/collator/collator_unicode.cxx b/i18npool/source/collator/collator_unicode.cxx index 48f30a182345..8da25cb34c98 100644 --- a/i18npool/source/collator/collator_unicode.cxx +++ b/i18npool/source/collator/collator_unicode.cxx @@ -141,9 +141,9 @@ Collator_Unicode::loadCollatorAlgorithm(const OUString& rAlgorithm, const lang:: } else { if ( rLocale.Language == "ja" ) { // replace algorithm name to implementation name. - if (rAlgorithm.startsWith("phonetic (alphanumeric first)") ) + if (rAlgorithm == "phonetic (alphanumeric first)") aBuf.appendAscii("phonetic_alphanumeric_first"); - else if (rAlgorithm.startsWith("phonetic (alphanumeric last)")) + else if (rAlgorithm == "phonetic (alphanumeric last)") aBuf.appendAscii("phonetic_alphanumeric_last"); else aBuf.append(rAlgorithm); -- cgit