diff options
Diffstat (limited to 'i18npool/source/transliteration/transliteration_caseignore.cxx')
-rw-r--r-- | i18npool/source/transliteration/transliteration_caseignore.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/i18npool/source/transliteration/transliteration_caseignore.cxx b/i18npool/source/transliteration/transliteration_caseignore.cxx index a26021d39cf2..e537e3fe9294 100644 --- a/i18npool/source/transliteration/transliteration_caseignore.cxx +++ b/i18npool/source/transliteration/transliteration_caseignore.cxx @@ -43,13 +43,13 @@ Transliteration_caseignore::Transliteration_caseignore() void SAL_CALL Transliteration_caseignore::loadModule( TransliterationModules modName, const Locale& rLocale ) - throw(RuntimeException) + throw(RuntimeException, std::exception) { moduleLoaded = (TransliterationModules) (moduleLoaded|modName); aLocale = rLocale; } -sal_Int16 SAL_CALL Transliteration_caseignore::getType() throw(RuntimeException) +sal_Int16 SAL_CALL Transliteration_caseignore::getType() throw(RuntimeException, std::exception) { // It's NOT TransliterationType::ONE_TO_ONE because it's using casefolding return TransliterationType::IGNORE; @@ -58,7 +58,7 @@ sal_Int16 SAL_CALL Transliteration_caseignore::getType() throw(RuntimeException) Sequence< OUString > SAL_CALL Transliteration_caseignore::transliterateRange( const OUString& str1, const OUString& str2 ) - throw( RuntimeException) + throw( RuntimeException, std::exception) { if (str1.getLength() != 1 || str2.getLength() != 1) throw RuntimeException(); @@ -93,7 +93,7 @@ sal_Bool SAL_CALL Transliteration_caseignore::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(::com::sun::star::uno::RuntimeException) + throw(::com::sun::star::uno::RuntimeException, std::exception) { return (compare(str1, pos1, nCount1, nMatch1, str2, pos2, nCount2, nMatch2) == 0); } @@ -102,7 +102,7 @@ sal_Int32 SAL_CALL Transliteration_caseignore::compareSubstring( const OUString& str1, sal_Int32 off1, sal_Int32 len1, const OUString& str2, sal_Int32 off2, sal_Int32 len2) - throw(RuntimeException) + throw(RuntimeException, std::exception) { sal_Int32 nMatch1, nMatch2; return compare(str1, off1, len1, nMatch1, str2, off2, len2, nMatch2); @@ -113,7 +113,7 @@ sal_Int32 SAL_CALL Transliteration_caseignore::compareString( const OUString& str1, const OUString& str2) - throw(RuntimeException) + throw(RuntimeException, std::exception) { sal_Int32 nMatch1, nMatch2; return compare(str1, 0, str1.getLength(), nMatch1, str2, 0, str2.getLength(), nMatch2); |