summaryrefslogtreecommitdiff
path: root/smoketest/smoketest.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'smoketest/smoketest.cxx')
-rw-r--r--smoketest/smoketest.cxx10
1 files changed, 3 insertions, 7 deletions
diff --git a/smoketest/smoketest.cxx b/smoketest/smoketest.cxx
index 5845c332997c..4db733bb0cd2 100644
--- a/smoketest/smoketest.cxx
+++ b/smoketest/smoketest.cxx
@@ -74,18 +74,15 @@ public:
explicit Listener(Result * result): result_(result) { OSL_ASSERT(result != nullptr); }
private:
- virtual void SAL_CALL disposing(css::lang::EventObject const &)
- throw (css::uno::RuntimeException, std::exception) override {}
+ virtual void SAL_CALL disposing(css::lang::EventObject const &) override {}
virtual void SAL_CALL dispatchFinished(
- css::frame::DispatchResultEvent const & Result)
- throw (css::uno::RuntimeException, std::exception) override;
+ css::frame::DispatchResultEvent const & Result) override;
Result * result_;
};
void Listener::dispatchFinished(css::frame::DispatchResultEvent const & Result)
- throw (css::uno::RuntimeException, std::exception)
{
result_->success =
(Result.State == css::frame::DispatchResultState::SUCCESS) &&
@@ -106,8 +103,7 @@ public:
{ OSL_ASSERT(dispatch.is()); }
private:
- virtual void SAL_CALL notify(css::uno::Any const &)
- throw (css::uno::RuntimeException, std::exception) override
+ virtual void SAL_CALL notify(css::uno::Any const &) override
{ dispatch_->dispatchWithNotification(url_, arguments_, listener_); }
css::uno::Reference< css::frame::XNotifyingDispatch > dispatch_;