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 /unotools/source/misc/eventlisteneradapter.cxx | |
parent | 6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff) |
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'unotools/source/misc/eventlisteneradapter.cxx')
-rw-r--r-- | unotools/source/misc/eventlisteneradapter.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unotools/source/misc/eventlisteneradapter.cxx b/unotools/source/misc/eventlisteneradapter.cxx index 10308d2dc73f..91973c5e6c64 100644 --- a/unotools/source/misc/eventlisteneradapter.cxx +++ b/unotools/source/misc/eventlisteneradapter.cxx @@ -52,7 +52,7 @@ namespace utl const Reference< XComponent >& getComponent() const { return m_xComponent; } protected: - virtual void SAL_CALL disposing( const EventObject& _rSource ) throw (RuntimeException); + virtual void SAL_CALL disposing( const EventObject& _rSource ) throw (RuntimeException, std::exception); }; @@ -84,7 +84,7 @@ namespace utl } - void SAL_CALL OEventListenerImpl::disposing( const EventObject& _rSource ) throw (RuntimeException) + void SAL_CALL OEventListenerImpl::disposing( const EventObject& _rSource ) throw (RuntimeException, std::exception) { Reference< XEventListener > xDeleteUponLeaving = m_xKeepMeAlive; m_xKeepMeAlive.clear(); |