Kaydet (Commit) 7a583306 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: loplugin:staticmethods in the non-Java case

Change-Id: Ibebe470d0d0c00bfcaf7b3cb90aa102e8101b7bc
(cherry picked from commit 00b0ce67)
üst 01d25476
...@@ -655,6 +655,8 @@ void SwHTMLParser::EndObject() ...@@ -655,6 +655,8 @@ void SwHTMLParser::EndObject()
delete pAppletImpl; delete pAppletImpl;
pAppletImpl = 0; pAppletImpl = 0;
} }
#else
(void) this; // Silence loplugin:staticmethods
#endif #endif
} }
...@@ -786,6 +788,8 @@ void SwHTMLParser::EndApplet() ...@@ -786,6 +788,8 @@ void SwHTMLParser::EndApplet()
delete pAppletImpl; delete pAppletImpl;
pAppletImpl = 0; pAppletImpl = 0;
#else
(void) this;
#endif #endif
} }
...@@ -816,6 +820,8 @@ void SwHTMLParser::InsertParam() ...@@ -816,6 +820,8 @@ void SwHTMLParser::InsertParam()
return; return;
pAppletImpl->AppendParam( aName, aValue ); pAppletImpl->AppendParam( aName, aValue );
#else
(void) this;
#endif #endif
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment