diff options
Diffstat (limited to 'i18npool/inc/collatorImpl.hxx')
-rw-r--r-- | i18npool/inc/collatorImpl.hxx | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/i18npool/inc/collatorImpl.hxx b/i18npool/inc/collatorImpl.hxx index 9650ef479dc1..34ddfc70c565 100644 --- a/i18npool/inc/collatorImpl.hxx +++ b/i18npool/inc/collatorImpl.hxx @@ -48,30 +48,27 @@ public: virtual ~CollatorImpl() override; virtual sal_Int32 SAL_CALL compareSubstring(const OUString& s1, sal_Int32 off1, sal_Int32 len1, - const OUString& s2, sal_Int32 off2, sal_Int32 len2) throw(css::uno::RuntimeException, std::exception) override; + const OUString& s2, sal_Int32 off2, sal_Int32 len2) override; virtual sal_Int32 SAL_CALL compareString( const OUString& s1, - const OUString& s2) throw(css::uno::RuntimeException, std::exception) override; + const OUString& s2) override; - virtual sal_Int32 SAL_CALL loadDefaultCollator( const lang::Locale& rLocale, sal_Int32 collatorOptions) - throw(css::uno::RuntimeException, std::exception) override; + virtual sal_Int32 SAL_CALL loadDefaultCollator( const lang::Locale& rLocale, sal_Int32 collatorOptions) override; virtual sal_Int32 SAL_CALL loadCollatorAlgorithm( const OUString& impl, const lang::Locale& rLocale, - sal_Int32 collatorOptions) throw(css::uno::RuntimeException, std::exception) override; + sal_Int32 collatorOptions) override; virtual void SAL_CALL loadCollatorAlgorithmWithEndUserOption( const OUString& impl, const lang::Locale& rLocale, - const css::uno::Sequence< sal_Int32 >& collatorOptions) throw(css::uno::RuntimeException, std::exception) override; + const css::uno::Sequence< sal_Int32 >& collatorOptions) override; - virtual css::uno::Sequence< OUString > SAL_CALL listCollatorAlgorithms( const lang::Locale& rLocale ) - throw(css::uno::RuntimeException, std::exception) override; + virtual css::uno::Sequence< OUString > SAL_CALL listCollatorAlgorithms( const lang::Locale& rLocale ) override; - virtual css::uno::Sequence< sal_Int32 > SAL_CALL listCollatorOptions( const OUString& collatorAlgorithmName ) - throw(css::uno::RuntimeException, std::exception) override; + virtual css::uno::Sequence< sal_Int32 > SAL_CALL listCollatorOptions( const OUString& collatorAlgorithmName ) override; //XServiceInfo - virtual OUString SAL_CALL getImplementationName() throw( css::uno::RuntimeException, std::exception ) override; - virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw( css::uno::RuntimeException, std::exception ) override; - virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw( css::uno::RuntimeException, std::exception ) override; + virtual OUString SAL_CALL getImplementationName() override; + virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override; + virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override; protected: lang::Locale nLocale; @@ -100,10 +97,9 @@ private: /// @throws css::uno::RuntimeException bool SAL_CALL createCollator(const lang::Locale& rLocale, const OUString& serviceName, - const OUString& rSortAlgorithm) throw(css::uno::RuntimeException); + const OUString& rSortAlgorithm); /// @throws css::uno::RuntimeException - void SAL_CALL loadCachedCollator(const lang::Locale& rLocale, const OUString& rSortAlgorithm) - throw(css::uno::RuntimeException); + void SAL_CALL loadCachedCollator(const lang::Locale& rLocale, const OUString& rSortAlgorithm); }; } } } } |