diff options
Diffstat (limited to 'i18npool/source/transliteration/transliteration_caseignore.cxx')
-rw-r--r-- | i18npool/source/transliteration/transliteration_caseignore.cxx | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/i18npool/source/transliteration/transliteration_caseignore.cxx b/i18npool/source/transliteration/transliteration_caseignore.cxx index 77d5a80ea816..e6f0061efc8a 100644 --- a/i18npool/source/transliteration/transliteration_caseignore.cxx +++ b/i18npool/source/transliteration/transliteration_caseignore.cxx @@ -40,13 +40,12 @@ Transliteration_caseignore::Transliteration_caseignore() void SAL_CALL Transliteration_caseignore::loadModule( TransliterationModules modName, const Locale& rLocale ) - throw(RuntimeException, std::exception) { moduleLoaded = (TransliterationModules) (moduleLoaded|modName); aLocale = rLocale; } -sal_Int16 SAL_CALL Transliteration_caseignore::getType() throw(RuntimeException, std::exception) +sal_Int16 SAL_CALL Transliteration_caseignore::getType() { // It's NOT TransliterationType::ONE_TO_ONE because it's using casefolding return TransliterationType::IGNORE; @@ -55,7 +54,6 @@ sal_Int16 SAL_CALL Transliteration_caseignore::getType() throw(RuntimeException, Sequence< OUString > SAL_CALL Transliteration_caseignore::transliterateRange( const OUString& str1, const OUString& str2 ) - throw( RuntimeException, std::exception) { if (str1.getLength() != 1 || str2.getLength() != 1) throw RuntimeException(); @@ -90,7 +88,6 @@ 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(css::uno::RuntimeException, std::exception) { return (compare(str1, pos1, nCount1, nMatch1, str2, pos2, nCount2, nMatch2) == 0); } @@ -99,7 +96,6 @@ 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, std::exception) { sal_Int32 nMatch1, nMatch2; return compare(str1, off1, len1, nMatch1, str2, off2, len2, nMatch2); @@ -110,7 +106,6 @@ sal_Int32 SAL_CALL Transliteration_caseignore::compareString( const OUString& str1, const OUString& str2) - throw(RuntimeException, std::exception) { sal_Int32 nMatch1, nMatch2; return compare(str1, 0, str1.getLength(), nMatch1, str2, 0, str2.getLength(), nMatch2); @@ -120,7 +115,6 @@ sal_Int32 SAL_CALL Transliteration_caseignore::compare( 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) { const sal_Unicode *unistr1 = const_cast<sal_Unicode*>(str1.getStr()) + pos1; const sal_Unicode *unistr2 = const_cast<sal_Unicode*>(str2.getStr()) + pos2; |