summaryrefslogtreecommitdiff
path: root/include/salhelper
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 /include/salhelper
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 'include/salhelper')
-rw-r--r--include/salhelper/refobj.hxx4
-rw-r--r--include/salhelper/thread.hxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/include/salhelper/refobj.hxx b/include/salhelper/refobj.hxx
index 28eca0cb9a72..5c5aa8fc9969 100644
--- a/include/salhelper/refobj.hxx
+++ b/include/salhelper/refobj.hxx
@@ -69,12 +69,12 @@ public:
/** IReference.
*/
- virtual oslInterlockedCount SAL_CALL acquire() SAL_THROW(())
+ virtual oslInterlockedCount SAL_CALL acquire() SAL_THROW(()) SAL_OVERRIDE
{
return osl_atomic_increment (&m_nReferenceCount);
}
- virtual oslInterlockedCount SAL_CALL release() SAL_THROW(())
+ virtual oslInterlockedCount SAL_CALL release() SAL_THROW(()) SAL_OVERRIDE
{
oslInterlockedCount result;
result = ::osl_atomic_decrement (&m_nReferenceCount);
diff --git a/include/salhelper/thread.hxx b/include/salhelper/thread.hxx
index 32ecaf678d9a..d74d729f5ffd 100644
--- a/include/salhelper/thread.hxx
+++ b/include/salhelper/thread.hxx
@@ -79,9 +79,9 @@ protected:
virtual void execute() = 0;
private:
- virtual void SAL_CALL run();
+ virtual void SAL_CALL run() SAL_OVERRIDE;
- virtual void SAL_CALL onTerminated();
+ virtual void SAL_CALL onTerminated() SAL_OVERRIDE;
char const * name_;
};