diff --git a/sw/qa/extras/inc/swmodeltestbase.hxx b/sw/qa/extras/inc/swmodeltestbase.hxx index d133d73e6933..0f3905b14e66 100644 --- a/sw/qa/extras/inc/swmodeltestbase.hxx +++ b/sw/qa/extras/inc/swmodeltestbase.hxx @@ -60,7 +60,7 @@ using namespace css; #define DECLARE_SW_ROUNDTRIP_TEST(TestName, filename, BaseClass) \ class TestName : public BaseClass { \ protected:\ - virtual OUString getTestName() { return OUString::createFromAscii(#TestName); }\ + virtual OUString getTestName() SAL_OVERRIDE { return OUString::createFromAscii(#TestName); } \ public:\ CPPUNIT_TEST_SUITE(TestName); \ CPPUNIT_TEST(Import); \ @@ -81,7 +81,7 @@ using namespace css; #define DECLARE_SW_IMPORT_TEST(TestName, filename, BaseClass) \ class TestName : public BaseClass { \ protected:\ - virtual OUString getTestName() { return OUString::createFromAscii(#TestName); }\ + virtual OUString getTestName() SAL_OVERRIDE { return OUString::createFromAscii(#TestName); } \ public:\ CPPUNIT_TEST_SUITE(TestName); \ CPPUNIT_TEST(Import); \ @@ -98,7 +98,7 @@ using namespace css; #define DECLARE_SW_EXPORT_TEST(TestName, filename, BaseClass) \ class TestName : public BaseClass { \ protected:\ - virtual OUString getTestName() { return OUString::createFromAscii(#TestName); }\ + virtual OUString getTestName() SAL_OVERRIDE { return OUString::createFromAscii(#TestName); } \ public:\ CPPUNIT_TEST_SUITE(TestName); \ CPPUNIT_TEST(Import_Export); \