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 --- cpputools/source/unoexe/unoexe.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpputools') diff --git a/cpputools/source/unoexe/unoexe.cxx b/cpputools/source/unoexe/unoexe.cxx index ff80ec3c2ba1..05b1fd49e768 100644 --- a/cpputools/source/unoexe/unoexe.cxx +++ b/cpputools/source/unoexe/unoexe.cxx @@ -297,7 +297,7 @@ public: // XInstanceProvider virtual Reference< XInterface > SAL_CALL getInstance( const OUString & rName ) - throw (NoSuchElementException, RuntimeException, std::exception); + throw (NoSuchElementException, RuntimeException, std::exception) SAL_OVERRIDE; }; inline Reference< XInterface > OInstanceProvider::createInstance() @@ -367,7 +367,7 @@ struct ODisposingListener : public WeakImplHelper1< XEventListener > // XEventListener virtual void SAL_CALL disposing( const EventObject & rEvt ) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; static void waitFor( const Reference< XComponent > & xComp ); }; -- cgit