diff options
Diffstat (limited to 'i18npool/source/indexentry/indexentrysupplier_ja_phonetic.cxx')
-rw-r--r-- | i18npool/source/indexentry/indexentrysupplier_ja_phonetic.cxx | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/i18npool/source/indexentry/indexentrysupplier_ja_phonetic.cxx b/i18npool/source/indexentry/indexentrysupplier_ja_phonetic.cxx index d7ccf35857fe..d9f6893ab6e0 100644 --- a/i18npool/source/indexentry/indexentrysupplier_ja_phonetic.cxx +++ b/i18npool/source/indexentry/indexentrysupplier_ja_phonetic.cxx @@ -27,7 +27,6 @@ namespace com { namespace sun { namespace star { namespace i18n { OUString SAL_CALL IndexEntrySupplier_ja_phonetic::getIndexCharacter( const OUString& rIndexEntry, const lang::Locale& /*rLocale*/, const OUString& /*rSortAlgorithm*/ ) - throw (css::uno::RuntimeException, std::exception) { sal_Unicode ch=rIndexEntry.toChar(); sal_uInt16 first = idx[ ch >> 8 ]; @@ -42,7 +41,6 @@ OUString SAL_CALL IndexEntrySupplier_ja_phonetic::getIndexCharacter( const OUStr OUString SAL_CALL IndexEntrySupplier_ja_phonetic::getIndexKey( const OUString& IndexEntry, const OUString& PhoneticEntry, const lang::Locale& rLocale ) - throw (css::uno::RuntimeException, std::exception) { return getIndexCharacter( PhoneticEntry.isEmpty() ? IndexEntry : PhoneticEntry , rLocale, OUString()); } @@ -50,7 +48,6 @@ OUString SAL_CALL IndexEntrySupplier_ja_phonetic::getIndexKey( const OUString& I sal_Int16 SAL_CALL IndexEntrySupplier_ja_phonetic::compareIndexEntry( const OUString& IndexEntry1, const OUString& PhoneticEntry1, const lang::Locale& rLocale1, const OUString& IndexEntry2, const OUString& PhoneticEntry2, const lang::Locale& rLocale2 ) - throw (css::uno::RuntimeException, std::exception) { sal_Int16 result = sal::static_int_cast<sal_Int16>( collator->compareString( IndexEntrySupplier_ja_phonetic::getIndexKey(IndexEntry1, PhoneticEntry1, rLocale1), @@ -66,13 +63,13 @@ sal_Int16 SAL_CALL IndexEntrySupplier_ja_phonetic::compareIndexEntry( static const sal_Char first[] = "ja_phonetic (alphanumeric first)"; sal_Bool SAL_CALL IndexEntrySupplier_ja_phonetic_alphanumeric_first_by_syllable::loadAlgorithm( const css::lang::Locale& rLocale, const OUString& /*SortAlgorithm*/, - sal_Int32 collatorOptions ) throw (css::uno::RuntimeException, std::exception) + sal_Int32 collatorOptions ) { return collator->loadCollatorAlgorithm(first, rLocale, collatorOptions) == 0; } sal_Bool SAL_CALL IndexEntrySupplier_ja_phonetic_alphanumeric_first_by_consonant::loadAlgorithm( const css::lang::Locale& rLocale, const OUString& /*SortAlgorithm*/, - sal_Int32 collatorOptions ) throw (css::uno::RuntimeException, std::exception) + sal_Int32 collatorOptions ) { return collator->loadCollatorAlgorithm(first, rLocale, collatorOptions) == 0; } @@ -80,13 +77,13 @@ sal_Bool SAL_CALL IndexEntrySupplier_ja_phonetic_alphanumeric_first_by_consonant static const sal_Char last[] = "ja_phonetic (alphanumeric last)"; sal_Bool SAL_CALL IndexEntrySupplier_ja_phonetic_alphanumeric_last_by_syllable::loadAlgorithm( const css::lang::Locale& rLocale, const OUString& /*SortAlgorithm*/, - sal_Int32 collatorOptions ) throw (css::uno::RuntimeException, std::exception) + sal_Int32 collatorOptions ) { return collator->loadCollatorAlgorithm(last, rLocale, collatorOptions) == 0; } sal_Bool SAL_CALL IndexEntrySupplier_ja_phonetic_alphanumeric_last_by_consonant::loadAlgorithm( const css::lang::Locale& rLocale, const OUString& /*SortAlgorithm*/, - sal_Int32 collatorOptions ) throw (css::uno::RuntimeException, std::exception) + sal_Int32 collatorOptions ) { return collator->loadCollatorAlgorithm(last, rLocale, collatorOptions) == 0; } |