diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-20 11:13:26 +0000 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-20 11:13:26 +0000 |
commit | 3925b8acf75aaea98894602542d907cfdf0b922d (patch) | |
tree | 17ce526dd367e63bfa4b8cf3bddb1c303f918a89 /sw/qa | |
parent | a84456142ae1f578b3d02550df6a1d749c372028 (diff) |
Fix various loplugin warnings
Change-Id: I1c8734ad157a0570ab7829e4d0990c806918d2b1
Diffstat (limited to 'sw/qa')
-rw-r--r-- | sw/qa/core/uwriter.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sw/qa/core/uwriter.cxx b/sw/qa/core/uwriter.cxx index edfa2417e539..31e0ee8bccda 100644 --- a/sw/qa/core/uwriter.cxx +++ b/sw/qa/core/uwriter.cxx @@ -1392,15 +1392,16 @@ namespace { struct TestModify : SwModify { - TYPEINFO(); + TYPEINFO_OVERRIDE(); }; TYPEINIT1( TestModify, SwModify ); struct TestClient : SwClient { - TYPEINFO(); + TYPEINFO_OVERRIDE(); int m_nModifyCount; TestClient() : m_nModifyCount(0) {}; virtual void Modify( const SfxPoolItem*, const SfxPoolItem*) + SAL_OVERRIDE { ShowReg(); ++m_nModifyCount; @@ -1418,11 +1419,12 @@ namespace }; TYPEINIT1( TestClient, SwClient ); struct OtherTestClient : SwClient - { TYPEINFO(); }; + { TYPEINFO_OVERRIDE(); }; TYPEINIT1( OtherTestClient, SwClient ); } void SwDocTest::testClientModify() { + (void) OtherTestClient(); // avoid loplugin:unreffun TestModify aMod; TestClient aClient1, aClient2; aMod.Add(&aClient1); |