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/convdic.cxx | |
parent | 6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff) |
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'linguistic/source/convdic.cxx')
-rw-r--r-- | linguistic/source/convdic.cxx | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/linguistic/source/convdic.cxx b/linguistic/source/convdic.cxx index 62ab0f0c5137..beee73245465 100644 --- a/linguistic/source/convdic.cxx +++ b/linguistic/source/convdic.cxx @@ -345,7 +345,7 @@ void ConvDic::RemoveEntry( const OUString &rLeftText, const OUString &rRightText OUString SAL_CALL ConvDic::getName( ) - throw (RuntimeException) + throw (RuntimeException, std::exception) { MutexGuard aGuard( GetLinguMutex() ); return aName; @@ -353,7 +353,7 @@ OUString SAL_CALL ConvDic::getName( ) Locale SAL_CALL ConvDic::getLocale( ) - throw (RuntimeException) + throw (RuntimeException, std::exception) { MutexGuard aGuard( GetLinguMutex() ); return LanguageTag::convertToLocale( nLanguage ); @@ -361,7 +361,7 @@ Locale SAL_CALL ConvDic::getLocale( ) sal_Int16 SAL_CALL ConvDic::getConversionType( ) - throw (RuntimeException) + throw (RuntimeException, std::exception) { MutexGuard aGuard( GetLinguMutex() ); return nConversionType; @@ -369,7 +369,7 @@ sal_Int16 SAL_CALL ConvDic::getConversionType( ) void SAL_CALL ConvDic::setActive( sal_Bool bActivate ) - throw (RuntimeException) + throw (RuntimeException, std::exception) { MutexGuard aGuard( GetLinguMutex() ); bIsActive = bActivate; @@ -377,7 +377,7 @@ void SAL_CALL ConvDic::setActive( sal_Bool bActivate ) sal_Bool SAL_CALL ConvDic::isActive( ) - throw (RuntimeException) + throw (RuntimeException, std::exception) { MutexGuard aGuard( GetLinguMutex() ); return bIsActive; @@ -385,7 +385,7 @@ sal_Bool SAL_CALL ConvDic::isActive( ) void SAL_CALL ConvDic::clear( ) - throw (RuntimeException) + throw (RuntimeException, std::exception) { MutexGuard aGuard( GetLinguMutex() ); aFromLeft .clear(); @@ -405,7 +405,7 @@ uno::Sequence< OUString > SAL_CALL ConvDic::getConversions( sal_Int32 nLength, ConversionDirection eDirection, sal_Int32 /*nTextConversionOptions*/ ) - throw (IllegalArgumentException, RuntimeException) + throw (IllegalArgumentException, RuntimeException, std::exception) { MutexGuard aGuard( GetLinguMutex() ); @@ -456,7 +456,7 @@ static sal_Bool lcl_SeqHasEntry( uno::Sequence< OUString > SAL_CALL ConvDic::getConversionEntries( ConversionDirection eDirection ) - throw (RuntimeException) + throw (RuntimeException, std::exception) { MutexGuard aGuard( GetLinguMutex() ); @@ -492,7 +492,7 @@ uno::Sequence< OUString > SAL_CALL ConvDic::getConversionEntries( void SAL_CALL ConvDic::addEntry( const OUString& aLeftText, const OUString& aRightText ) - throw (IllegalArgumentException, container::ElementExistException, RuntimeException) + throw (IllegalArgumentException, container::ElementExistException, RuntimeException, std::exception) { MutexGuard aGuard( GetLinguMutex() ); if (bNeedEntries) @@ -506,7 +506,7 @@ void SAL_CALL ConvDic::addEntry( void SAL_CALL ConvDic::removeEntry( const OUString& aLeftText, const OUString& aRightText ) - throw (container::NoSuchElementException, RuntimeException) + throw (container::NoSuchElementException, RuntimeException, std::exception) { MutexGuard aGuard( GetLinguMutex() ); if (bNeedEntries) @@ -518,7 +518,7 @@ void SAL_CALL ConvDic::removeEntry( sal_Int16 SAL_CALL ConvDic::getMaxCharCount( ConversionDirection eDirection ) - throw (RuntimeException) + throw (RuntimeException, std::exception) { MutexGuard aGuard( GetLinguMutex() ); @@ -569,7 +569,7 @@ void SAL_CALL ConvDic::setPropertyType( const OUString& rLeftText, const OUString& rRightText, sal_Int16 nPropertyType ) - throw (container::NoSuchElementException, IllegalArgumentException, RuntimeException) + throw (container::NoSuchElementException, IllegalArgumentException, RuntimeException, std::exception) { sal_Bool bHasElement = HasEntry( rLeftText, rRightText); if (!bHasElement) @@ -586,7 +586,7 @@ void SAL_CALL ConvDic::setPropertyType( sal_Int16 SAL_CALL ConvDic::getPropertyType( const OUString& rLeftText, const OUString& rRightText ) - throw (container::NoSuchElementException, RuntimeException) + throw (container::NoSuchElementException, RuntimeException, std::exception) { sal_Bool bHasElement = HasEntry( rLeftText, rRightText); if (!bHasElement) @@ -606,7 +606,7 @@ sal_Int16 SAL_CALL ConvDic::getPropertyType( void SAL_CALL ConvDic::flush( ) - throw (RuntimeException) + throw (RuntimeException, std::exception) { MutexGuard aGuard( GetLinguMutex() ); @@ -630,7 +630,7 @@ void SAL_CALL ConvDic::flush( ) void SAL_CALL ConvDic::addFlushListener( const uno::Reference< util::XFlushListener >& rxListener ) - throw (RuntimeException) + throw (RuntimeException, std::exception) { MutexGuard aGuard( GetLinguMutex() ); if (rxListener.is()) @@ -640,7 +640,7 @@ void SAL_CALL ConvDic::addFlushListener( void SAL_CALL ConvDic::removeFlushListener( const uno::Reference< util::XFlushListener >& rxListener ) - throw (RuntimeException) + throw (RuntimeException, std::exception) { MutexGuard aGuard( GetLinguMutex() ); if (rxListener.is()) @@ -649,20 +649,20 @@ void SAL_CALL ConvDic::removeFlushListener( OUString SAL_CALL ConvDic::getImplementationName( ) - throw (RuntimeException) + throw (RuntimeException, std::exception) { MutexGuard aGuard( GetLinguMutex() ); return getImplementationName_Static(); } sal_Bool SAL_CALL ConvDic::supportsService( const OUString& rServiceName ) - throw (RuntimeException) + throw (RuntimeException, std::exception) { return cppu::supportsService(this, rServiceName); } uno::Sequence< OUString > SAL_CALL ConvDic::getSupportedServiceNames( ) - throw (RuntimeException) + throw (RuntimeException, std::exception) { MutexGuard aGuard( GetLinguMutex() ); return getSupportedServiceNames_Static(); |