diff options
Diffstat (limited to 'i18npool/source/indexentry/indexentrysupplier_common.cxx')
-rw-r--r-- | i18npool/source/indexentry/indexentrysupplier_common.cxx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/i18npool/source/indexentry/indexentrysupplier_common.cxx b/i18npool/source/indexentry/indexentrysupplier_common.cxx index fc8cc8ddbcca..c330ed582e0c 100644 --- a/i18npool/source/indexentry/indexentrysupplier_common.cxx +++ b/i18npool/source/indexentry/indexentrysupplier_common.cxx @@ -40,29 +40,29 @@ IndexEntrySupplier_Common::~IndexEntrySupplier_Common() delete collator; } -Sequence < lang::Locale > SAL_CALL IndexEntrySupplier_Common::getLocaleList() throw (RuntimeException) +Sequence < lang::Locale > SAL_CALL IndexEntrySupplier_Common::getLocaleList() throw (RuntimeException, std::exception) { throw RuntimeException(); } -Sequence < OUString > SAL_CALL IndexEntrySupplier_Common::getAlgorithmList( const lang::Locale& ) throw (RuntimeException) +Sequence < OUString > SAL_CALL IndexEntrySupplier_Common::getAlgorithmList( const lang::Locale& ) throw (RuntimeException, std::exception) { throw RuntimeException(); } OUString SAL_CALL IndexEntrySupplier_Common::getPhoneticCandidate( const OUString&, - const lang::Locale& ) throw (RuntimeException) + const lang::Locale& ) throw (RuntimeException, std::exception) { return OUString(); } -sal_Bool SAL_CALL IndexEntrySupplier_Common::usePhoneticEntry( const lang::Locale& ) throw (RuntimeException) +sal_Bool SAL_CALL IndexEntrySupplier_Common::usePhoneticEntry( const lang::Locale& ) throw (RuntimeException, std::exception) { throw RuntimeException(); } sal_Bool SAL_CALL IndexEntrySupplier_Common::loadAlgorithm( const lang::Locale& rLocale, - const OUString& rAlgorithm, sal_Int32 collatorOptions ) throw (RuntimeException) + const OUString& rAlgorithm, sal_Int32 collatorOptions ) throw (RuntimeException, std::exception) { usePhonetic = LocaleDataImpl().isPhonetic(rLocale, rAlgorithm); collator->loadCollatorAlgorithm(rAlgorithm, rLocale, collatorOptions); @@ -72,7 +72,7 @@ sal_Bool SAL_CALL IndexEntrySupplier_Common::loadAlgorithm( const lang::Locale& } OUString SAL_CALL IndexEntrySupplier_Common::getIndexKey( const OUString& rIndexEntry, - const OUString&, const lang::Locale& ) throw (RuntimeException) + const OUString&, const lang::Locale& ) throw (RuntimeException, std::exception) { sal_Int32 nPos=0; sal_uInt32 indexChar=rIndexEntry.iterateCodePoints(&nPos, 0); @@ -82,7 +82,7 @@ OUString SAL_CALL IndexEntrySupplier_Common::getIndexKey( const OUString& rIndex sal_Int16 SAL_CALL IndexEntrySupplier_Common::compareIndexEntry( const OUString& rIndexEntry1, const OUString&, const lang::Locale&, const OUString& rIndexEntry2, const OUString&, const lang::Locale& ) - throw (RuntimeException) + throw (RuntimeException, std::exception) { return sal::static_int_cast< sal_Int16 >( collator->compareString(rIndexEntry1, rIndexEntry2)); @@ -90,13 +90,13 @@ sal_Int16 SAL_CALL IndexEntrySupplier_Common::compareIndexEntry( } OUString SAL_CALL IndexEntrySupplier_Common::getIndexCharacter( const OUString& rIndexEntry, - const lang::Locale& rLocale, const OUString& ) throw (RuntimeException) + const lang::Locale& rLocale, const OUString& ) throw (RuntimeException, std::exception) { return getIndexKey(rIndexEntry, rIndexEntry, rLocale); } OUString SAL_CALL IndexEntrySupplier_Common::getIndexFollowPageWord( sal_Bool, - const lang::Locale& ) throw (RuntimeException) + const lang::Locale& ) throw (RuntimeException, std::exception) { throw RuntimeException(); } @@ -118,19 +118,19 @@ IndexEntrySupplier_Common::getEntry( const OUString& IndexEntry, } OUString SAL_CALL -IndexEntrySupplier_Common::getImplementationName() throw( RuntimeException ) +IndexEntrySupplier_Common::getImplementationName() throw( RuntimeException, std::exception ) { return OUString::createFromAscii( implementationName ); } sal_Bool SAL_CALL -IndexEntrySupplier_Common::supportsService(const OUString& rServiceName) throw( RuntimeException ) +IndexEntrySupplier_Common::supportsService(const OUString& rServiceName) throw( RuntimeException, std::exception ) { return cppu::supportsService(this, rServiceName); } Sequence< OUString > SAL_CALL -IndexEntrySupplier_Common::getSupportedServiceNames() throw( RuntimeException ) +IndexEntrySupplier_Common::getSupportedServiceNames() throw( RuntimeException, std::exception ) { Sequence< OUString > aRet(1); aRet[0] = OUString::createFromAscii( implementationName ); |