diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-25 21:31:58 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-26 18:22:20 +0100 |
commit | 5e21a413c788f839a66d9e4c14e745ed18058db8 (patch) | |
tree | d4451246461346a425ad6f796e08bf1514cdd942 /linguistic/source/dicimp.cxx | |
parent | 6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff) |
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'linguistic/source/dicimp.cxx')
-rw-r--r-- | linguistic/source/dicimp.cxx | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/linguistic/source/dicimp.cxx b/linguistic/source/dicimp.cxx index 0ce35b54f1af..5e3c0fdd53c0 100644 --- a/linguistic/source/dicimp.cxx +++ b/linguistic/source/dicimp.cxx @@ -762,14 +762,14 @@ uno::Reference< XInterface > SAL_CALL DictionaryNeo_CreateInstance( } OUString SAL_CALL DictionaryNeo::getName( ) - throw(RuntimeException) + throw(RuntimeException, std::exception) { MutexGuard aGuard( GetLinguMutex() ); return aDicName; } void SAL_CALL DictionaryNeo::setName( const OUString& aName ) - throw(RuntimeException) + throw(RuntimeException, std::exception) { MutexGuard aGuard( GetLinguMutex() ); @@ -781,7 +781,7 @@ void SAL_CALL DictionaryNeo::setName( const OUString& aName ) } DictionaryType SAL_CALL DictionaryNeo::getDictionaryType( ) - throw(RuntimeException) + throw(RuntimeException, std::exception) { MutexGuard aGuard( GetLinguMutex() ); @@ -789,7 +789,7 @@ DictionaryType SAL_CALL DictionaryNeo::getDictionaryType( ) } void SAL_CALL DictionaryNeo::setActive( sal_Bool bActivate ) - throw(RuntimeException) + throw(RuntimeException, std::exception) { MutexGuard aGuard( GetLinguMutex() ); @@ -822,14 +822,14 @@ void SAL_CALL DictionaryNeo::setActive( sal_Bool bActivate ) } sal_Bool SAL_CALL DictionaryNeo::isActive( ) - throw(RuntimeException) + throw(RuntimeException, std::exception) { MutexGuard aGuard( GetLinguMutex() ); return bIsActive; } sal_Int32 SAL_CALL DictionaryNeo::getCount( ) - throw(RuntimeException) + throw(RuntimeException, std::exception) { MutexGuard aGuard( GetLinguMutex() ); @@ -839,14 +839,14 @@ sal_Int32 SAL_CALL DictionaryNeo::getCount( ) } Locale SAL_CALL DictionaryNeo::getLocale( ) - throw(RuntimeException) + throw(RuntimeException, std::exception) { MutexGuard aGuard( GetLinguMutex() ); return LanguageTag::convertToLocale( nLanguage ); } void SAL_CALL DictionaryNeo::setLocale( const Locale& aLocale ) - throw(RuntimeException) + throw(RuntimeException, std::exception) { MutexGuard aGuard( GetLinguMutex() ); sal_Int16 nLanguageP = LinguLocaleToLanguage( aLocale ); @@ -861,7 +861,7 @@ void SAL_CALL DictionaryNeo::setLocale( const Locale& aLocale ) uno::Reference< XDictionaryEntry > SAL_CALL DictionaryNeo::getEntry( const OUString& aWord ) - throw(RuntimeException) + throw(RuntimeException, std::exception) { MutexGuard aGuard( GetLinguMutex() ); @@ -879,7 +879,7 @@ uno::Reference< XDictionaryEntry > SAL_CALL DictionaryNeo::getEntry( sal_Bool SAL_CALL DictionaryNeo::addEntry( const uno::Reference< XDictionaryEntry >& xDicEntry ) - throw(RuntimeException) + throw(RuntimeException, std::exception) { MutexGuard aGuard( GetLinguMutex() ); @@ -898,7 +898,7 @@ sal_Bool SAL_CALL DictionaryNeo::addEntry( sal_Bool SAL_CALL DictionaryNeo::add( const OUString& rWord, sal_Bool bIsNegative, const OUString& rRplcText ) - throw(RuntimeException) + throw(RuntimeException, std::exception) { MutexGuard aGuard( GetLinguMutex() ); @@ -935,7 +935,7 @@ static void lcl_SequenceRemoveElementAt( } sal_Bool SAL_CALL DictionaryNeo::remove( const OUString& aWord ) - throw(RuntimeException) + throw(RuntimeException, std::exception) { MutexGuard aGuard( GetLinguMutex() ); @@ -974,7 +974,7 @@ sal_Bool SAL_CALL DictionaryNeo::remove( const OUString& aWord ) } sal_Bool SAL_CALL DictionaryNeo::isFull( ) - throw(RuntimeException) + throw(RuntimeException, std::exception) { MutexGuard aGuard( GetLinguMutex() ); @@ -985,7 +985,7 @@ sal_Bool SAL_CALL DictionaryNeo::isFull( ) uno::Sequence< uno::Reference< XDictionaryEntry > > SAL_CALL DictionaryNeo::getEntries( ) - throw(RuntimeException) + throw(RuntimeException, std::exception) { MutexGuard aGuard( GetLinguMutex() ); @@ -999,7 +999,7 @@ uno::Sequence< uno::Reference< XDictionaryEntry > > void SAL_CALL DictionaryNeo::clear( ) - throw(RuntimeException) + throw(RuntimeException, std::exception) { MutexGuard aGuard( GetLinguMutex() ); @@ -1018,7 +1018,7 @@ void SAL_CALL DictionaryNeo::clear( ) sal_Bool SAL_CALL DictionaryNeo::addDictionaryEventListener( const uno::Reference< XDictionaryEventListener >& xListener ) - throw(RuntimeException) + throw(RuntimeException, std::exception) { MutexGuard aGuard( GetLinguMutex() ); @@ -1033,7 +1033,7 @@ sal_Bool SAL_CALL DictionaryNeo::addDictionaryEventListener( sal_Bool SAL_CALL DictionaryNeo::removeDictionaryEventListener( const uno::Reference< XDictionaryEventListener >& xListener ) - throw(RuntimeException) + throw(RuntimeException, std::exception) { MutexGuard aGuard( GetLinguMutex() ); @@ -1048,21 +1048,21 @@ sal_Bool SAL_CALL DictionaryNeo::removeDictionaryEventListener( sal_Bool SAL_CALL DictionaryNeo::hasLocation() - throw(RuntimeException) + throw(RuntimeException, std::exception) { MutexGuard aGuard( GetLinguMutex() ); return !aMainURL.isEmpty(); } OUString SAL_CALL DictionaryNeo::getLocation() - throw(RuntimeException) + throw(RuntimeException, std::exception) { MutexGuard aGuard( GetLinguMutex() ); return aMainURL; } sal_Bool SAL_CALL DictionaryNeo::isReadonly() - throw(RuntimeException) + throw(RuntimeException, std::exception) { MutexGuard aGuard( GetLinguMutex() ); @@ -1070,7 +1070,7 @@ sal_Bool SAL_CALL DictionaryNeo::isReadonly() } void SAL_CALL DictionaryNeo::store() - throw(io::IOException, RuntimeException) + throw(io::IOException, RuntimeException, std::exception) { MutexGuard aGuard( GetLinguMutex() ); @@ -1084,7 +1084,7 @@ void SAL_CALL DictionaryNeo::store() void SAL_CALL DictionaryNeo::storeAsURL( const OUString& aURL, const uno::Sequence< beans::PropertyValue >& /*rArgs*/ ) - throw(io::IOException, RuntimeException) + throw(io::IOException, RuntimeException, std::exception) { MutexGuard aGuard( GetLinguMutex() ); @@ -1099,7 +1099,7 @@ void SAL_CALL DictionaryNeo::storeAsURL( void SAL_CALL DictionaryNeo::storeToURL( const OUString& aURL, const uno::Sequence< beans::PropertyValue >& /*rArgs*/ ) - throw(io::IOException, RuntimeException) + throw(io::IOException, RuntimeException, std::exception) { MutexGuard aGuard( GetLinguMutex() ); saveEntries(aURL); @@ -1152,21 +1152,21 @@ void DicEntry::splitDicFileWord(const OUString &rDicFileWord, } OUString SAL_CALL DicEntry::getDictionaryWord( ) - throw(RuntimeException) + throw(RuntimeException, std::exception) { MutexGuard aGuard( GetLinguMutex() ); return aDicWord; } sal_Bool SAL_CALL DicEntry::isNegative( ) - throw(RuntimeException) + throw(RuntimeException, std::exception) { MutexGuard aGuard( GetLinguMutex() ); return bIsNegativ; } OUString SAL_CALL DicEntry::getReplacementText( ) - throw(RuntimeException) + throw(RuntimeException, std::exception) { MutexGuard aGuard( GetLinguMutex() ); return aReplacement; |