From 70cc2b191b95fbc210bc1f0f6a7159f341894f0f Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 26 Mar 2014 16:37:00 +0100 Subject: 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 --- smoketest/smoketest.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'smoketest') 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); -- cgit