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 /smoketest | |
parent | 6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff) |
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'smoketest')
-rw-r--r-- | smoketest/smoketest.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/smoketest/smoketest.cxx b/smoketest/smoketest.cxx index 6ada882c77f2..caa0c4bd86c0 100644 --- a/smoketest/smoketest.cxx +++ b/smoketest/smoketest.cxx @@ -69,17 +69,17 @@ public: private: virtual void SAL_CALL disposing(css::lang::EventObject const &) - throw (css::uno::RuntimeException) {} + throw (css::uno::RuntimeException, std::exception) {} virtual void SAL_CALL dispatchFinished( css::frame::DispatchResultEvent const & Result) - throw (css::uno::RuntimeException); + throw (css::uno::RuntimeException, std::exception); Result * result_; }; void Listener::dispatchFinished(css::frame::DispatchResultEvent const & Result) - throw (css::uno::RuntimeException) + throw (css::uno::RuntimeException, std::exception) { result_->success = (Result.State == css::frame::DispatchResultState::SUCCESS) && @@ -101,7 +101,7 @@ public: private: virtual void SAL_CALL notify(css::uno::Any const &) - throw (css::uno::RuntimeException) + throw (css::uno::RuntimeException, std::exception) { dispatch_->dispatchWithNotification(url_, arguments_, listener_); } css::uno::Reference< css::frame::XNotifyingDispatch > dispatch_; |