diff options
Diffstat (limited to 'i18npool/source/transliteration/transliteration_OneToOne.cxx')
-rw-r--r-- | i18npool/source/transliteration/transliteration_OneToOne.cxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/i18npool/source/transliteration/transliteration_OneToOne.cxx b/i18npool/source/transliteration/transliteration_OneToOne.cxx index b6868a6941ca..978d7cf9cd7a 100644 --- a/i18npool/source/transliteration/transliteration_OneToOne.cxx +++ b/i18npool/source/transliteration/transliteration_OneToOne.cxx @@ -23,7 +23,7 @@ using namespace com::sun::star::uno; namespace com { namespace sun { namespace star { namespace i18n { -sal_Int16 SAL_CALL transliteration_OneToOne::getType() throw(RuntimeException, std::exception) +sal_Int16 SAL_CALL transliteration_OneToOne::getType() { // This type is also defined in com/sun/star/util/TransliterationType.hdl return TransliterationType::ONE_TO_ONE; @@ -31,7 +31,7 @@ sal_Int16 SAL_CALL transliteration_OneToOne::getType() throw(RuntimeException, s OUString SAL_CALL transliteration_OneToOne::folding( const OUString& /*inStr*/, sal_Int32 /*startPos*/, - sal_Int32 /*nCount*/, Sequence< sal_Int32 >& /*offset*/) throw(RuntimeException, std::exception) + sal_Int32 /*nCount*/, Sequence< sal_Int32 >& /*offset*/) { throw RuntimeException(); } @@ -39,14 +39,12 @@ transliteration_OneToOne::folding( const OUString& /*inStr*/, sal_Int32 /*startP sal_Bool SAL_CALL transliteration_OneToOne::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(RuntimeException, std::exception) { throw RuntimeException(); } Sequence< OUString > SAL_CALL transliteration_OneToOne::transliterateRange( const OUString& /*str1*/, const OUString& /*str2*/ ) - throw(RuntimeException, std::exception) { throw RuntimeException(); } @@ -54,7 +52,6 @@ transliteration_OneToOne::transliterateRange( const OUString& /*str1*/, const OU OUString SAL_CALL transliteration_OneToOne::transliterate( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, Sequence< sal_Int32 >& offset) - throw(RuntimeException, std::exception) { // Create a string buffer which can hold nCount + 1 characters. // The reference count is 1 now. @@ -84,7 +81,7 @@ transliteration_OneToOne::transliterate( const OUString& inStr, sal_Int32 startP } sal_Unicode SAL_CALL -transliteration_OneToOne::transliterateChar2Char( sal_Unicode inChar) throw(RuntimeException, MultipleCharsOutputException, std::exception) +transliteration_OneToOne::transliterateChar2Char( sal_Unicode inChar) { return func ? func( inChar) : (*table)[ inChar ]; } |