summaryrefslogtreecommitdiff
path: root/cpputools
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 /cpputools
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 'cpputools')
-rw-r--r--cpputools/source/unoexe/unoexe.cxx4
1 files changed, 2 insertions, 2 deletions
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 );
};