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/lngsvcmgr.cxx | |
parent | 6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff) |
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'linguistic/source/lngsvcmgr.cxx')
-rw-r--r-- | linguistic/source/lngsvcmgr.cxx | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/linguistic/source/lngsvcmgr.cxx b/linguistic/source/lngsvcmgr.cxx index 6b1579679659..041cea75a305 100644 --- a/linguistic/source/lngsvcmgr.cxx +++ b/linguistic/source/lngsvcmgr.cxx @@ -203,18 +203,18 @@ public: // lang::XEventListener virtual void SAL_CALL disposing( const lang::EventObject& rSource ) - throw(uno::RuntimeException); + throw(uno::RuntimeException, std::exception); // linguistic2::XLinguServiceEventListener virtual void SAL_CALL processLinguServiceEvent( const linguistic2::LinguServiceEvent& aLngSvcEvent ) - throw(uno::RuntimeException); + throw(uno::RuntimeException, std::exception); // linguistic2::XDictionaryListEventListener virtual void SAL_CALL processDictionaryListEvent( const linguistic2::DictionaryListEvent& rDicListEvent ) - throw(uno::RuntimeException); + throw(uno::RuntimeException, std::exception); inline sal_Bool AddLngSvcMgrListener( const uno::Reference< lang::XEventListener >& rxListener ); @@ -249,7 +249,7 @@ LngSvcMgrListenerHelper::LngSvcMgrListenerHelper( void SAL_CALL LngSvcMgrListenerHelper::disposing( const lang::EventObject& rSource ) - throw(uno::RuntimeException) + throw(uno::RuntimeException, std::exception) { osl::MutexGuard aGuard( GetLinguMutex() ); @@ -301,7 +301,7 @@ void LngSvcMgrListenerHelper::AddLngSvcEvt( sal_Int16 nLngSvcEvt ) void SAL_CALL LngSvcMgrListenerHelper::processLinguServiceEvent( const linguistic2::LinguServiceEvent& rLngSvcEvent ) - throw(uno::RuntimeException) + throw(uno::RuntimeException, std::exception) { osl::MutexGuard aGuard( GetLinguMutex() ); AddLngSvcEvt( rLngSvcEvent.nEvent ); @@ -311,7 +311,7 @@ void SAL_CALL void SAL_CALL LngSvcMgrListenerHelper::processDictionaryListEvent( const linguistic2::DictionaryListEvent& rDicListEvent ) - throw(uno::RuntimeException) + throw(uno::RuntimeException, std::exception) { osl::MutexGuard aGuard( GetLinguMutex() ); @@ -502,7 +502,7 @@ LngSvcMgr::LngSvcMgr() // ::com::sun::star::util::XModifyListener void LngSvcMgr::modified(const lang::EventObject&) - throw(uno::RuntimeException) + throw(uno::RuntimeException, std::exception) { osl::MutexGuard aGuard(GetLinguMutex()); //assume that if an extension has been added/removed that @@ -559,7 +559,7 @@ void LngSvcMgr::stopListening() } void LngSvcMgr::disposing(const lang::EventObject&) - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { stopListening(); } @@ -1461,7 +1461,7 @@ void LngSvcMgr::SetCfgServiceLists( ThesaurusDispatcher &rThesDsp ) uno::Reference< linguistic2::XSpellChecker > SAL_CALL LngSvcMgr::getSpellChecker() - throw(uno::RuntimeException) + throw(uno::RuntimeException, std::exception) { osl::MutexGuard aGuard( GetLinguMutex() ); #if OSL_DEBUG_LEVEL > 1 @@ -1481,7 +1481,7 @@ uno::Reference< linguistic2::XSpellChecker > SAL_CALL uno::Reference< linguistic2::XHyphenator > SAL_CALL LngSvcMgr::getHyphenator() - throw(uno::RuntimeException) + throw(uno::RuntimeException, std::exception) { osl::MutexGuard aGuard( GetLinguMutex() ); #if OSL_DEBUG_LEVEL > 1 @@ -1501,7 +1501,7 @@ uno::Reference< linguistic2::XHyphenator > SAL_CALL uno::Reference< linguistic2::XThesaurus > SAL_CALL LngSvcMgr::getThesaurus() - throw(uno::RuntimeException) + throw(uno::RuntimeException, std::exception) { osl::MutexGuard aGuard( GetLinguMutex() ); #if OSL_DEBUG_LEVEL > 1 @@ -1522,7 +1522,7 @@ uno::Reference< linguistic2::XThesaurus > SAL_CALL sal_Bool SAL_CALL LngSvcMgr::addLinguServiceManagerListener( const uno::Reference< lang::XEventListener >& xListener ) - throw(uno::RuntimeException) + throw(uno::RuntimeException, std::exception) { osl::MutexGuard aGuard( GetLinguMutex() ); @@ -1540,7 +1540,7 @@ sal_Bool SAL_CALL sal_Bool SAL_CALL LngSvcMgr::removeLinguServiceManagerListener( const uno::Reference< lang::XEventListener >& xListener ) - throw(uno::RuntimeException) + throw(uno::RuntimeException, std::exception) { osl::MutexGuard aGuard( GetLinguMutex() ); @@ -1620,7 +1620,7 @@ uno::Sequence< OUString > SAL_CALL uno::Sequence< lang::Locale > SAL_CALL LngSvcMgr::getAvailableLocales( const OUString& rServiceName ) - throw(uno::RuntimeException) + throw(uno::RuntimeException, std::exception) { osl::MutexGuard aGuard( GetLinguMutex() ); @@ -1675,7 +1675,7 @@ void SAL_CALL const OUString& rServiceName, const lang::Locale& rLocale, const uno::Sequence< OUString >& rServiceImplNames ) - throw(uno::RuntimeException) + throw(uno::RuntimeException, std::exception) { SAL_INFO( "linguistic", "linguistic: LngSvcMgr::setConfiguredServices" ); @@ -1917,7 +1917,7 @@ uno::Sequence< OUString > SAL_CALL LngSvcMgr::getConfiguredServices( const OUString& rServiceName, const lang::Locale& rLocale ) - throw(uno::RuntimeException) + throw(uno::RuntimeException, std::exception) { osl::MutexGuard aGuard( GetLinguMutex() ); @@ -1999,7 +1999,7 @@ uno::Sequence< OUString > SAL_CALL void SAL_CALL LngSvcMgr::dispose() - throw(uno::RuntimeException) + throw(uno::RuntimeException, std::exception) { osl::MutexGuard aGuard( GetLinguMutex() ); @@ -2020,7 +2020,7 @@ void SAL_CALL void SAL_CALL LngSvcMgr::addEventListener( const uno::Reference< lang::XEventListener >& xListener ) - throw(uno::RuntimeException) + throw(uno::RuntimeException, std::exception) { osl::MutexGuard aGuard( GetLinguMutex() ); @@ -2034,7 +2034,7 @@ void SAL_CALL void SAL_CALL LngSvcMgr::removeEventListener( const uno::Reference< lang::XEventListener >& xListener ) - throw(uno::RuntimeException) + throw(uno::RuntimeException, std::exception) { osl::MutexGuard aGuard( GetLinguMutex() ); @@ -2061,7 +2061,7 @@ sal_Bool LngSvcMgr::AddLngSvcEvtBroadcaster( OUString SAL_CALL LngSvcMgr::getImplementationName() - throw(uno::RuntimeException) + throw(uno::RuntimeException, std::exception) { osl::MutexGuard aGuard( GetLinguMutex() ); return getImplementationName_Static(); @@ -2070,7 +2070,7 @@ OUString SAL_CALL sal_Bool SAL_CALL LngSvcMgr::supportsService( const OUString& ServiceName ) - throw(uno::RuntimeException) + throw(uno::RuntimeException, std::exception) { return cppu::supportsService(this, ServiceName); } @@ -2078,7 +2078,7 @@ sal_Bool SAL_CALL uno::Sequence< OUString > SAL_CALL LngSvcMgr::getSupportedServiceNames() - throw(uno::RuntimeException) + throw(uno::RuntimeException, std::exception) { osl::MutexGuard aGuard( GetLinguMutex() ); return getSupportedServiceNames_Static(); |