diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-03-26 16:37:00 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-26 16:39:26 +0100 |
commit | 70cc2b191b95fbc210bc1f0f6a7159f341894f0f (patch) | |
tree | a70f4957c454b443520cbf91250c41d9eea80017 /salhelper | |
parent | 8757bea2e88c6e349e1fe98d8e9695d7b9c6179e (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 'salhelper')
-rw-r--r-- | salhelper/qa/test_api.cxx | 2 | ||||
-rw-r--r-- | salhelper/source/timer.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/salhelper/qa/test_api.cxx b/salhelper/qa/test_api.cxx index c9d88005b4a5..5892b2c8338a 100644 --- a/salhelper/qa/test_api.cxx +++ b/salhelper/qa/test_api.cxx @@ -64,7 +64,7 @@ public: explicit DerivedCondition(osl::Mutex & mutex): Condition(mutex) {} protected: - virtual bool applies() const { return false; } + virtual bool applies() const SAL_OVERRIDE { return false; } }; class DerivedConditionWaiterTimedout: diff --git a/salhelper/source/timer.cxx b/salhelper/source/timer.cxx index d46c660b4e59..1bbf71b74cf3 100644 --- a/salhelper/source/timer.cxx +++ b/salhelper/source/timer.cxx @@ -54,13 +54,13 @@ public: protected: /// worker-function of thread - virtual void SAL_CALL run(); + virtual void SAL_CALL run() SAL_OVERRIDE; // Checking and triggering of a timer event void SAL_CALL checkForTimeout(); // cleanup Method - virtual void SAL_CALL onTerminated(); + virtual void SAL_CALL onTerminated() SAL_OVERRIDE; // sorted-queue data salhelper::Timer* m_pHead; |