diff options
Diffstat (limited to 'linguistic/source/spelldta.cxx')
-rw-r--r-- | linguistic/source/spelldta.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/linguistic/source/spelldta.cxx b/linguistic/source/spelldta.cxx index 1d07dc1ba412..d895bcb9fa90 100644 --- a/linguistic/source/spelldta.cxx +++ b/linguistic/source/spelldta.cxx @@ -201,7 +201,7 @@ SpellAlternatives::~SpellAlternatives() OUString SAL_CALL SpellAlternatives::getWord() - throw(RuntimeException) + throw(RuntimeException, std::exception) { MutexGuard aGuard( GetLinguMutex() ); return aWord; @@ -209,7 +209,7 @@ OUString SAL_CALL SpellAlternatives::getWord() Locale SAL_CALL SpellAlternatives::getLocale() - throw(RuntimeException) + throw(RuntimeException, std::exception) { MutexGuard aGuard( GetLinguMutex() ); return LanguageTag::convertToLocale( nLanguage ); @@ -217,7 +217,7 @@ Locale SAL_CALL SpellAlternatives::getLocale() sal_Int16 SAL_CALL SpellAlternatives::getFailureType() - throw(RuntimeException) + throw(RuntimeException, std::exception) { MutexGuard aGuard( GetLinguMutex() ); return nType; @@ -225,7 +225,7 @@ sal_Int16 SAL_CALL SpellAlternatives::getFailureType() sal_Int16 SAL_CALL SpellAlternatives::getAlternativesCount() - throw(RuntimeException) + throw(RuntimeException, std::exception) { MutexGuard aGuard( GetLinguMutex() ); return (sal_Int16) aAlt.getLength(); @@ -233,7 +233,7 @@ sal_Int16 SAL_CALL SpellAlternatives::getAlternativesCount() Sequence< OUString > SAL_CALL SpellAlternatives::getAlternatives() - throw(RuntimeException) + throw(RuntimeException, std::exception) { MutexGuard aGuard( GetLinguMutex() ); return aAlt; @@ -241,7 +241,7 @@ Sequence< OUString > SAL_CALL SpellAlternatives::getAlternatives() void SAL_CALL SpellAlternatives::setAlternatives( const uno::Sequence< OUString >& rAlternatives ) -throw (uno::RuntimeException) +throw (uno::RuntimeException, std::exception) { MutexGuard aGuard( GetLinguMutex() ); aAlt = rAlternatives; @@ -249,7 +249,7 @@ throw (uno::RuntimeException) void SAL_CALL SpellAlternatives::setFailureType( sal_Int16 nFailureType ) -throw (uno::RuntimeException) +throw (uno::RuntimeException, std::exception) { MutexGuard aGuard( GetLinguMutex() ); nType = nFailureType; |