WaE: overriding virtual function declaration not marked 'override'
Change-Id: Ie799cd4a2d9c4c9de70712dbfd5de57944d8ecbc
This commit is contained in:
@@ -60,7 +60,7 @@ using namespace css;
|
|||||||
#define DECLARE_SW_ROUNDTRIP_TEST(TestName, filename, BaseClass) \
|
#define DECLARE_SW_ROUNDTRIP_TEST(TestName, filename, BaseClass) \
|
||||||
class TestName : public BaseClass { \
|
class TestName : public BaseClass { \
|
||||||
protected:\
|
protected:\
|
||||||
virtual OUString getTestName() { return OUString::createFromAscii(#TestName); }\
|
virtual OUString getTestName() SAL_OVERRIDE { return OUString::createFromAscii(#TestName); } \
|
||||||
public:\
|
public:\
|
||||||
CPPUNIT_TEST_SUITE(TestName); \
|
CPPUNIT_TEST_SUITE(TestName); \
|
||||||
CPPUNIT_TEST(Import); \
|
CPPUNIT_TEST(Import); \
|
||||||
@@ -81,7 +81,7 @@ using namespace css;
|
|||||||
#define DECLARE_SW_IMPORT_TEST(TestName, filename, BaseClass) \
|
#define DECLARE_SW_IMPORT_TEST(TestName, filename, BaseClass) \
|
||||||
class TestName : public BaseClass { \
|
class TestName : public BaseClass { \
|
||||||
protected:\
|
protected:\
|
||||||
virtual OUString getTestName() { return OUString::createFromAscii(#TestName); }\
|
virtual OUString getTestName() SAL_OVERRIDE { return OUString::createFromAscii(#TestName); } \
|
||||||
public:\
|
public:\
|
||||||
CPPUNIT_TEST_SUITE(TestName); \
|
CPPUNIT_TEST_SUITE(TestName); \
|
||||||
CPPUNIT_TEST(Import); \
|
CPPUNIT_TEST(Import); \
|
||||||
@@ -98,7 +98,7 @@ using namespace css;
|
|||||||
#define DECLARE_SW_EXPORT_TEST(TestName, filename, BaseClass) \
|
#define DECLARE_SW_EXPORT_TEST(TestName, filename, BaseClass) \
|
||||||
class TestName : public BaseClass { \
|
class TestName : public BaseClass { \
|
||||||
protected:\
|
protected:\
|
||||||
virtual OUString getTestName() { return OUString::createFromAscii(#TestName); }\
|
virtual OUString getTestName() SAL_OVERRIDE { return OUString::createFromAscii(#TestName); } \
|
||||||
public:\
|
public:\
|
||||||
CPPUNIT_TEST_SUITE(TestName); \
|
CPPUNIT_TEST_SUITE(TestName); \
|
||||||
CPPUNIT_TEST(Import_Export); \
|
CPPUNIT_TEST(Import_Export); \
|
||||||
|
Reference in New Issue
Block a user