summaryrefslogtreecommitdiff
path: root/sal/qa/osl/mutex
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 /sal/qa/osl/mutex
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 'sal/qa/osl/mutex')
-rw-r--r--sal/qa/osl/mutex/osl_Mutex.cxx22
1 files changed, 11 insertions, 11 deletions
diff --git a/sal/qa/osl/mutex/osl_Mutex.cxx b/sal/qa/osl/mutex/osl_Mutex.cxx
index 096de9c9b8c9..2d5e977c96ed 100644
--- a/sal/qa/osl/mutex/osl_Mutex.cxx
+++ b/sal/qa/osl/mutex/osl_Mutex.cxx
@@ -103,7 +103,7 @@ public:
protected:
struct resource *pResource;
- void SAL_CALL run( )
+ void SAL_CALL run( ) SAL_OVERRIDE
{
pResource->lock.acquire( );
for( sal_Int8 i = 0; i < 3; i++ )
@@ -131,7 +131,7 @@ public:
protected:
struct resource *pResource;
- void SAL_CALL run( )
+ void SAL_CALL run( ) SAL_OVERRIDE
{
pResource->lock.acquire( );
for( sal_Int8 i = 0; i < 3; i++ )
@@ -169,7 +169,7 @@ public:
protected:
struct chain* pChain;
- void SAL_CALL run( )
+ void SAL_CALL run( ) SAL_OVERRIDE
{
//block here if the mutex has been acquired
pChain->lock.acquire( );
@@ -207,7 +207,7 @@ public:
protected:
Mutex* pMyMutex;
- void SAL_CALL run()
+ void SAL_CALL run() SAL_OVERRIDE
{
// block here if the mutex has been acquired
pMyMutex->acquire( );
@@ -229,7 +229,7 @@ public:
protected:
Mutex* pMyMutex;
- void SAL_CALL run( )
+ void SAL_CALL run( ) SAL_OVERRIDE
{
// block here if the mutex has been acquired
pMyMutex->acquire( );
@@ -251,7 +251,7 @@ public:
CPPUNIT_ASSERT_MESSAGE( "#GlobalMutexThread does not shutdown properly.\n", !isRunning( ) );
}
protected:
- void SAL_CALL run( )
+ void SAL_CALL run( ) SAL_OVERRIDE
{
// block here if the mutex has been acquired
Mutex* pGlobalMutex;
@@ -276,7 +276,7 @@ namespace osl_Mutex
struct chain m_Data;
struct resource m_Res;
- void setUp( )
+ void setUp( ) SAL_OVERRIDE
{
for ( sal_Int8 i=0; i < BUFFER_SIZE; i++ )
m_Data.buffer[i] = 0;
@@ -286,7 +286,7 @@ namespace osl_Mutex
m_Res.data2 = 0;
}
- void tearDown()
+ void tearDown() SAL_OVERRIDE
{
}
@@ -574,7 +574,7 @@ public:
protected:
Mutex* pMyMutex;
- void SAL_CALL run( )
+ void SAL_CALL run( ) SAL_OVERRIDE
{
// block here if the mutex has been acquired
MutexGuard aGuard( pMyMutex );
@@ -660,7 +660,7 @@ public:
protected:
Mutex* pMyMutex;
- void SAL_CALL run( )
+ void SAL_CALL run( ) SAL_OVERRIDE
{
// acquire the mutex
// printf("# ClearGuardThread" );
@@ -802,7 +802,7 @@ public:
protected:
Mutex* pMyMutex;
- void SAL_CALL run( )
+ void SAL_CALL run( ) SAL_OVERRIDE
{
// acquire the mutex
printf("# ResettableGuard\n" );