From 009db0e3a77a9f0d501f35920dd36234a2491e9c Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Tue, 8 Apr 2014 15:53:46 +0300 Subject: [PATCH] WaE: overriding virtual function declaration not marked 'override' Change-Id: Ie799cd4a2d9c4c9de70712dbfd5de57944d8ecbc --- sw/qa/extras/inc/swmodeltestbase.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); \