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 /cpputools | |
parent | 6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff) |
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'cpputools')
-rw-r--r-- | cpputools/source/unoexe/unoexe.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpputools/source/unoexe/unoexe.cxx b/cpputools/source/unoexe/unoexe.cxx index d7dc202b6e8a..ff80ec3c2ba1 100644 --- a/cpputools/source/unoexe/unoexe.cxx +++ b/cpputools/source/unoexe/unoexe.cxx @@ -297,7 +297,7 @@ public: // XInstanceProvider virtual Reference< XInterface > SAL_CALL getInstance( const OUString & rName ) - throw (NoSuchElementException, RuntimeException); + throw (NoSuchElementException, RuntimeException, std::exception); }; inline Reference< XInterface > OInstanceProvider::createInstance() @@ -318,7 +318,7 @@ inline Reference< XInterface > OInstanceProvider::createInstance() } Reference< XInterface > OInstanceProvider::getInstance( const OUString & rName ) - throw (NoSuchElementException, RuntimeException) + throw (NoSuchElementException, RuntimeException, std::exception) { try { @@ -367,13 +367,13 @@ struct ODisposingListener : public WeakImplHelper1< XEventListener > // XEventListener virtual void SAL_CALL disposing( const EventObject & rEvt ) - throw (RuntimeException); + throw (RuntimeException, std::exception); static void waitFor( const Reference< XComponent > & xComp ); }; void ODisposingListener::disposing( const EventObject & ) - throw (RuntimeException) + throw (RuntimeException, std::exception) { cDisposed.set(); } |