diff options
author | Tor Lillqvist <tml@collabora.com> | 2015-09-01 14:49:37 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2015-09-04 13:07:51 +0300 |
commit | 7a583306acc7e4148aa4c9243f3ffe55d7025d20 (patch) | |
tree | cbf3168f85635e3032332628db747085b597a8d3 /sw | |
parent | 01d25476b9ecf074a924affec8feed427c912488 (diff) |
WaE: loplugin:staticmethods in the non-Java case
Change-Id: Ibebe470d0d0c00bfcaf7b3cb90aa102e8101b7bc
(cherry picked from commit 00b0ce6756184acbdf1a459e4a602534d7e1f05d)
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/html/htmlplug.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sw/source/filter/html/htmlplug.cxx b/sw/source/filter/html/htmlplug.cxx index b9e14257454a..5a743bf18416 100644 --- a/sw/source/filter/html/htmlplug.cxx +++ b/sw/source/filter/html/htmlplug.cxx @@ -655,6 +655,8 @@ void SwHTMLParser::EndObject() delete pAppletImpl; pAppletImpl = 0; } +#else + (void) this; // Silence loplugin:staticmethods #endif } @@ -786,6 +788,8 @@ void SwHTMLParser::EndApplet() delete pAppletImpl; pAppletImpl = 0; +#else + (void) this; #endif } @@ -816,6 +820,8 @@ void SwHTMLParser::InsertParam() return; pAppletImpl->AppendParam( aName, aValue ); +#else + (void) this; #endif } |