diff options
Diffstat (limited to 'i18npool/inc/transliteration_OneToOne.hxx')
-rw-r--r-- | i18npool/inc/transliteration_OneToOne.hxx | 32 |
1 files changed, 11 insertions, 21 deletions
diff --git a/i18npool/inc/transliteration_OneToOne.hxx b/i18npool/inc/transliteration_OneToOne.hxx index 98b380aa8a14..dce55fb6ef8d 100644 --- a/i18npool/inc/transliteration_OneToOne.hxx +++ b/i18npool/inc/transliteration_OneToOne.hxx @@ -30,29 +30,23 @@ class transliteration_OneToOne : public transliteration_commonclass { public: OUString SAL_CALL - transliterate( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, css::uno::Sequence< sal_Int32 >& offset ) - throw(css::uno::RuntimeException, std::exception) override; + transliterate( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, css::uno::Sequence< sal_Int32 >& offset ) override; sal_Unicode SAL_CALL - transliterateChar2Char( sal_Unicode inChar) - throw(css::uno::RuntimeException, - css::i18n::MultipleCharsOutputException, std::exception) override; + transliterateChar2Char( sal_Unicode inChar) override; // Methods which are shared. - sal_Int16 SAL_CALL getType() throw(css::uno::RuntimeException, std::exception) override; + sal_Int16 SAL_CALL getType() override; OUString SAL_CALL - folding( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, css::uno::Sequence< sal_Int32 >& offset) - throw(css::uno::RuntimeException, std::exception) override; + folding( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, css::uno::Sequence< sal_Int32 >& offset) override; sal_Bool SAL_CALL equals( const OUString& str1, sal_Int32 pos1, sal_Int32 nCount1, sal_Int32& nMatch1, - const OUString& str2, sal_Int32 pos2, sal_Int32 nCount2, sal_Int32& nMatch2 ) - throw(css::uno::RuntimeException, std::exception) override; + const OUString& str2, sal_Int32 pos2, sal_Int32 nCount2, sal_Int32& nMatch2 ) override; css::uno::Sequence< OUString > SAL_CALL - transliterateRange( const OUString& str1, const OUString& str2 ) - throw(css::uno::RuntimeException, std::exception) override; + transliterateRange( const OUString& str1, const OUString& str2 ) override; protected: TransFunc func; @@ -66,11 +60,10 @@ public: \ name (); \ OUString SAL_CALL \ transliterate( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, css::uno::Sequence< sal_Int32 >& offset ) \ - throw(css::uno::RuntimeException, std::exception) override; \ + override; \ sal_Unicode SAL_CALL \ transliterateChar2Char( sal_Unicode inChar) \ - throw(css::uno::RuntimeException, \ - css::i18n::MultipleCharsOutputException, std::exception) override; \ + override; \ }; TRANSLITERATION_ONETOONE( fullwidthToHalfwidth ) @@ -82,24 +75,21 @@ class halfwidthToFullwidth : public transliteration_OneToOne public: halfwidthToFullwidth(); OUString SAL_CALL - transliterate( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, css::uno::Sequence< sal_Int32 >& offset ) - throw(css::uno::RuntimeException, std::exception) override; + transliterate( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, css::uno::Sequence< sal_Int32 >& offset ) override; }; class halfwidthKatakanaToFullwidthKatakana : public transliteration_OneToOne { public: halfwidthKatakanaToFullwidthKatakana(); OUString SAL_CALL - transliterate( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, css::uno::Sequence< sal_Int32 >& offset ) - throw(css::uno::RuntimeException, std::exception) override; + transliterate( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, css::uno::Sequence< sal_Int32 >& offset ) override; }; class halfwidthToFullwidthLikeJIS : public transliteration_OneToOne { public: halfwidthToFullwidthLikeJIS(); OUString SAL_CALL - transliterate( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, css::uno::Sequence< sal_Int32 >& offset ) - throw(css::uno::RuntimeException, std::exception) override; + transliterate( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, css::uno::Sequence< sal_Int32 >& offset ) override; }; #undef TRANSLITERATION_ONETOONE |