summaryrefslogtreecommitdiff
path: root/i18npool/source/indexentry/indexentrysupplier_default.cxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2005-10-17 14:43:54 +0000
committerRüdiger Timm <rt@openoffice.org>2005-10-17 14:43:54 +0000
commit599c26fdcfad81c17258ba39ea89e88a60c403e9 (patch)
tree3d5726a1895f5af4244d540242eed3de2d7706c3 /i18npool/source/indexentry/indexentrysupplier_default.cxx
parent1ac6f0d90df2432d036a8e1dbff76da9a343be8f (diff)
INTEGRATION: CWS i18n20 (1.7.32); FILE MERGED
2005/08/26 23:40:46 khong 1.7.32.1: #i45171# use new collation option for index grouping
Diffstat (limited to 'i18npool/source/indexentry/indexentrysupplier_default.cxx')
-rw-r--r--i18npool/source/indexentry/indexentrysupplier_default.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/i18npool/source/indexentry/indexentrysupplier_default.cxx b/i18npool/source/indexentry/indexentrysupplier_default.cxx
index cf1fc6fd4cc3..69a982eb2653 100644
--- a/i18npool/source/indexentry/indexentrysupplier_default.cxx
+++ b/i18npool/source/indexentry/indexentrysupplier_default.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: indexentrysupplier_default.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: rt $ $Date: 2005-09-07 17:09:57 $
+ * last change: $Author: rt $ $Date: 2005-10-17 15:43:54 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -87,7 +87,7 @@ sal_Int16 SAL_CALL IndexEntrySupplier_Unicode::compareIndexEntry(
OUString SAL_CALL IndexEntrySupplier_Unicode::getIndexCharacter( const OUString& rIndexEntry,
const lang::Locale& rLocale, const OUString& rAlgorithm ) throw (RuntimeException) {
- if (loadAlgorithm( rLocale, rAlgorithm, CollatorOptions::CollatorOptions_IGNORE_CASE))
+ if (loadAlgorithm( rLocale, rAlgorithm, CollatorOptions::CollatorOptions_IGNORE_CASE_ACCENT))
return index->getIndexDescription(rIndexEntry);
else
return IndexEntrySupplier_Common::getIndexCharacter(rIndexEntry, rLocale, rAlgorithm);
@@ -222,7 +222,7 @@ void Index::init(const lang::Locale &rLocale, const OUString& algorithm) throw (
if (table_count > MAX_TABLES)
throw RuntimeException();
- collator->loadCollatorAlgorithm(algorithm, rLocale, CollatorOptions::CollatorOptions_IGNORE_CASE);
+ collator->loadCollatorAlgorithm(algorithm, rLocale, CollatorOptions::CollatorOptions_IGNORE_CASE_ACCENT);
sal_Int16 j=0;
sal_Unicode start = unicode::getUnicodeScriptStart((UnicodeScript)0);
sal_Unicode end = unicode::getUnicodeScriptEnd((UnicodeScript)0);