summaryrefslogtreecommitdiff
path: root/smoketest
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-26 16:37:00 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-26 16:39:26 +0100
commit70cc2b191b95fbc210bc1f0f6a7159f341894f0f (patch)
treea70f4957c454b443520cbf91250c41d9eea80017 /smoketest
parent8757bea2e88c6e349e1fe98d8e9695d7b9c6179e (diff)
First batch of adding SAL_OVERRRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
Diffstat (limited to 'smoketest')
-rw-r--r--smoketest/smoketest.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/smoketest/smoketest.cxx b/smoketest/smoketest.cxx
index caa0c4bd86c0..dc3ebb815641 100644
--- a/smoketest/smoketest.cxx
+++ b/smoketest/smoketest.cxx
@@ -69,11 +69,11 @@ public:
private:
virtual void SAL_CALL disposing(css::lang::EventObject const &)
- throw (css::uno::RuntimeException, std::exception) {}
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE {}
virtual void SAL_CALL dispatchFinished(
css::frame::DispatchResultEvent const & Result)
- throw (css::uno::RuntimeException, std::exception);
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
Result * result_;
};
@@ -101,7 +101,7 @@ public:
private:
virtual void SAL_CALL notify(css::uno::Any const &)
- throw (css::uno::RuntimeException, std::exception)
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ dispatch_->dispatchWithNotification(url_, arguments_, listener_); }
css::uno::Reference< css::frame::XNotifyingDispatch > dispatch_;
@@ -112,9 +112,9 @@ private:
class Test: public CppUnit::TestFixture {
public:
- virtual void setUp();
+ virtual void setUp() SAL_OVERRIDE;
- virtual void tearDown();
+ virtual void tearDown() SAL_OVERRIDE;
private:
CPPUNIT_TEST_SUITE(Test);