summaryrefslogtreecommitdiff
path: root/sal/qa/rtl
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/rtl
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/rtl')
-rw-r--r--sal/qa/rtl/alloc/rtl_alloc.cxx8
-rw-r--r--sal/qa/rtl/bootstrap/expand.cxx2
-rw-r--r--sal/qa/rtl/cipher/rtl_cipher.cxx40
-rw-r--r--sal/qa/rtl/crc32/rtl_crc32.cxx4
-rw-r--r--sal/qa/rtl/doublelock/rtl_doublelocking.cxx8
-rw-r--r--sal/qa/rtl/locale/rtl_locale.cxx28
-rw-r--r--sal/qa/rtl/process/rtl_Process.cxx8
-rw-r--r--sal/qa/rtl/textenc/rtl_tencinfo.cxx10
-rw-r--r--sal/qa/rtl/uuid/rtl_Uuid.cxx8
9 files changed, 58 insertions, 58 deletions
diff --git a/sal/qa/rtl/alloc/rtl_alloc.cxx b/sal/qa/rtl/alloc/rtl_alloc.cxx
index 2bfa2f52355d..9bf2716266be 100644
--- a/sal/qa/rtl/alloc/rtl_alloc.cxx
+++ b/sal/qa/rtl/alloc/rtl_alloc.cxx
@@ -58,12 +58,12 @@ public:
}
// initialise your test code values here.
- void setUp()
+ void setUp() SAL_OVERRIDE
{
m_pMemory = (char*) rtl_allocateMemory( m_nSizeOfMemory );
}
- void tearDown()
+ void tearDown() SAL_OVERRIDE
{
rtl_freeMemory(m_pMemory);
m_pMemory = NULL;
@@ -106,12 +106,12 @@ public:
}
// initialise your test code values here.
- void setUp()
+ void setUp() SAL_OVERRIDE
{
m_pZeroMemory = (char*) rtl_allocateZeroMemory( m_nSizeOfZeroMemory );
}
- void tearDown()
+ void tearDown() SAL_OVERRIDE
{
rtl_freeZeroMemory(m_pZeroMemory, m_nSizeOfZeroMemory);
// LLA: no check possible, may GPF if there is something wrong.
diff --git a/sal/qa/rtl/bootstrap/expand.cxx b/sal/qa/rtl/bootstrap/expand.cxx
index 9aad9ddbcde6..b1eb23b82543 100644
--- a/sal/qa/rtl/bootstrap/expand.cxx
+++ b/sal/qa/rtl/bootstrap/expand.cxx
@@ -20,7 +20,7 @@ namespace {
class Test: public CppUnit::TestFixture {
public:
- virtual void setUp();
+ virtual void setUp() SAL_OVERRIDE;
private:
CPPUNIT_TEST_SUITE(Test);
diff --git a/sal/qa/rtl/cipher/rtl_cipher.cxx b/sal/qa/rtl/cipher/rtl_cipher.cxx
index 3c1b51ca4065..9a71bb568bd7 100644
--- a/sal/qa/rtl/cipher/rtl_cipher.cxx
+++ b/sal/qa/rtl/cipher/rtl_cipher.cxx
@@ -35,11 +35,11 @@ class create : public CppUnit::TestFixture
{
public:
// initialise your test code values here.
- void setUp()
+ void setUp() SAL_OVERRIDE
{
}
- void tearDown()
+ void tearDown() SAL_OVERRIDE
{
}
@@ -108,11 +108,11 @@ class createBF : public CppUnit::TestFixture
{
public:
// initialise your test code values here.
- void setUp()
+ void setUp() SAL_OVERRIDE
{
}
- void tearDown()
+ void tearDown() SAL_OVERRIDE
{
}
@@ -156,11 +156,11 @@ class decode : public CppUnit::TestFixture
{
public:
// initialise your test code values here.
- void setUp()
+ void setUp() SAL_OVERRIDE
{
}
- void tearDown()
+ void tearDown() SAL_OVERRIDE
{
}
@@ -293,11 +293,11 @@ class decodeBF : public CppUnit::TestFixture
{
public:
// initialise your test code values here.
- void setUp()
+ void setUp() SAL_OVERRIDE
{
}
- void tearDown()
+ void tearDown() SAL_OVERRIDE
{
}
@@ -317,11 +317,11 @@ class destroy : public CppUnit::TestFixture
{
public:
// initialise your test code values here.
- void setUp()
+ void setUp() SAL_OVERRIDE
{
}
- void tearDown()
+ void tearDown() SAL_OVERRIDE
{
}
@@ -344,11 +344,11 @@ class destroyBF : public CppUnit::TestFixture
{
public:
// initialise your test code values here.
- void setUp()
+ void setUp() SAL_OVERRIDE
{
}
- void tearDown()
+ void tearDown() SAL_OVERRIDE
{
}
@@ -373,11 +373,11 @@ class encode : public CppUnit::TestFixture
{
public:
// initialise your test code values here.
- void setUp()
+ void setUp() SAL_OVERRIDE
{
}
- void tearDown()
+ void tearDown() SAL_OVERRIDE
{
}
@@ -446,11 +446,11 @@ class encodeBF : public CppUnit::TestFixture
{
public:
// initialise your test code values here.
- void setUp()
+ void setUp() SAL_OVERRIDE
{
}
- void tearDown()
+ void tearDown() SAL_OVERRIDE
{
}
@@ -470,11 +470,11 @@ class init : public CppUnit::TestFixture
{
public:
// initialise your test code values here.
- void setUp()
+ void setUp() SAL_OVERRIDE
{
}
- void tearDown()
+ void tearDown() SAL_OVERRIDE
{
}
@@ -583,11 +583,11 @@ class initBF : public CppUnit::TestFixture
{
public:
// initialise your test code values here.
- void setUp()
+ void setUp() SAL_OVERRIDE
{
}
- void tearDown()
+ void tearDown() SAL_OVERRIDE
{
}
diff --git a/sal/qa/rtl/crc32/rtl_crc32.cxx b/sal/qa/rtl/crc32/rtl_crc32.cxx
index 63e68d73c8c9..81a507b33f0e 100644
--- a/sal/qa/rtl/crc32/rtl_crc32.cxx
+++ b/sal/qa/rtl/crc32/rtl_crc32.cxx
@@ -31,11 +31,11 @@ class test : public CppUnit::TestFixture
{
public:
// initialise your test code values here.
- void setUp()
+ void setUp() SAL_OVERRIDE
{
}
- void tearDown()
+ void tearDown() SAL_OVERRIDE
{
}
diff --git a/sal/qa/rtl/doublelock/rtl_doublelocking.cxx b/sal/qa/rtl/doublelock/rtl_doublelocking.cxx
index 169c0d8ab337..84685b8880a7 100644
--- a/sal/qa/rtl/doublelock/rtl_doublelocking.cxx
+++ b/sal/qa/rtl/doublelock/rtl_doublelocking.cxx
@@ -109,7 +109,7 @@ protected:
@see ThreadSafeValue
*/
- void SAL_CALL run()
+ void SAL_CALL run() SAL_OVERRIDE
{
while(schedule())
{
@@ -128,7 +128,7 @@ protected:
public:
- virtual void SAL_CALL suspend()
+ virtual void SAL_CALL suspend() SAL_OVERRIDE
{
::osl::Thread::suspend();
}
@@ -154,11 +154,11 @@ namespace rtl_DoubleLocking
public:
// initialise your test code values here.
- void setUp()
+ void setUp() SAL_OVERRIDE
{
}
- void tearDown()
+ void tearDown() SAL_OVERRIDE
{
}
diff --git a/sal/qa/rtl/locale/rtl_locale.cxx b/sal/qa/rtl/locale/rtl_locale.cxx
index 6c7127844f09..ecfc08a0237e 100644
--- a/sal/qa/rtl/locale/rtl_locale.cxx
+++ b/sal/qa/rtl/locale/rtl_locale.cxx
@@ -38,13 +38,13 @@ class getDefault : public CppUnit::TestFixture
{
public:
// initialise your test code values here.
- void setUp()
+ void setUp() SAL_OVERRIDE
{
// start message
rtl_locale::setDefaultLocale();
}
- void tearDown()
+ void tearDown() SAL_OVERRIDE
{
}
@@ -68,13 +68,13 @@ class setDefault : public CppUnit::TestFixture
{
public:
// initialise your test code values here.
- void setUp()
+ void setUp() SAL_OVERRIDE
{
// start message
rtl_locale::setDefaultLocale();
}
- void tearDown()
+ void tearDown() SAL_OVERRIDE
{
setDefaultLocale();
}
@@ -103,13 +103,13 @@ class getLanguage : public CppUnit::TestFixture
{
public:
// initialise your test code values here.
- void setUp()
+ void setUp() SAL_OVERRIDE
{
// start message
rtl_locale::setDefaultLocale();
}
- void tearDown()
+ void tearDown() SAL_OVERRIDE
{
}
@@ -142,13 +142,13 @@ class getCountry : public CppUnit::TestFixture
{
public:
// initialise your test code values here.
- void setUp()
+ void setUp() SAL_OVERRIDE
{
// start message
rtl_locale::setDefaultLocale();
}
- void tearDown()
+ void tearDown() SAL_OVERRIDE
{
}
@@ -181,13 +181,13 @@ class getVariant : public CppUnit::TestFixture
{
public:
// initialise your test code values here.
- void setUp()
+ void setUp() SAL_OVERRIDE
{
// start message
rtl_locale::setDefaultLocale();
}
- void tearDown()
+ void tearDown() SAL_OVERRIDE
{
}
@@ -220,13 +220,13 @@ class hashCode : public CppUnit::TestFixture
{
public:
// initialise your test code values here.
- void setUp()
+ void setUp() SAL_OVERRIDE
{
// start message
rtl_locale::setDefaultLocale();
}
- void tearDown()
+ void tearDown() SAL_OVERRIDE
{
}
@@ -259,13 +259,13 @@ class equals : public CppUnit::TestFixture
{
public:
// initialise your test code values here.
- void setUp()
+ void setUp() SAL_OVERRIDE
{
// start message
rtl_locale::setDefaultLocale();
}
- void tearDown()
+ void tearDown() SAL_OVERRIDE
{
}
diff --git a/sal/qa/rtl/process/rtl_Process.cxx b/sal/qa/rtl/process/rtl_Process.cxx
index d93075aa6969..c17a45b344d9 100644
--- a/sal/qa/rtl/process/rtl_Process.cxx
+++ b/sal/qa/rtl/process/rtl_Process.cxx
@@ -73,11 +73,11 @@ class getAppCommandArg : public CppUnit::TestFixture
{
public:
// initialise your test code values here.
- void setUp()
+ void setUp() SAL_OVERRIDE
{
}
- void tearDown()
+ void tearDown() SAL_OVERRIDE
{
}
@@ -201,11 +201,11 @@ class getGlobalProcessId : public CppUnit::TestFixture
{
public:
// initialise your test code values here.
- void setUp()
+ void setUp() SAL_OVERRIDE
{
}
- void tearDown()
+ void tearDown() SAL_OVERRIDE
{
}
//gets a 16-byte fixed size identifier which is guaranteed not to change during the current process.
diff --git a/sal/qa/rtl/textenc/rtl_tencinfo.cxx b/sal/qa/rtl/textenc/rtl_tencinfo.cxx
index f7917a7f2bc4..bb64f4b9c10d 100644
--- a/sal/qa/rtl/textenc/rtl_tencinfo.cxx
+++ b/sal/qa/rtl/textenc/rtl_tencinfo.cxx
@@ -32,7 +32,7 @@ namespace
class testBestMime : public CppUnit::TestFixture
{
public:
- void setUp()
+ void setUp() SAL_OVERRIDE
{
}
@@ -472,7 +472,7 @@ namespace
class testBestUnix : public CppUnit::TestFixture
{
public:
- void setUp()
+ void setUp() SAL_OVERRIDE
{
}
@@ -972,7 +972,7 @@ namespace
class testBestWindows : public CppUnit::TestFixture
{
public:
- void setUp()
+ void setUp() SAL_OVERRIDE
{
}
@@ -1526,11 +1526,11 @@ namespace
{
public:
// initialise your test code values here.
- void setUp()
+ void setUp() SAL_OVERRIDE
{
}
- void tearDown()
+ void tearDown() SAL_OVERRIDE
{
}
diff --git a/sal/qa/rtl/uuid/rtl_Uuid.cxx b/sal/qa/rtl/uuid/rtl_Uuid.cxx
index dc3b60f159b1..5b756013e723 100644
--- a/sal/qa/rtl/uuid/rtl_Uuid.cxx
+++ b/sal/qa/rtl/uuid/rtl_Uuid.cxx
@@ -77,11 +77,11 @@ class createUuid : public CppUnit::TestFixture
{
public:
// initialise your test code values here.
- void setUp()
+ void setUp() SAL_OVERRIDE
{
}
- void tearDown()
+ void tearDown() SAL_OVERRIDE
{
}
@@ -148,11 +148,11 @@ class createNamedUuid : public CppUnit::TestFixture
{
public:
// initialise your test code values here.
- void setUp()
+ void setUp() SAL_OVERRIDE
{
}
- void tearDown()
+ void tearDown() SAL_OVERRIDE
{
}