summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-09-01 14:49:37 +0300
committerTor Lillqvist <tml@collabora.com>2015-09-01 14:49:53 +0300
commit00b0ce6756184acbdf1a459e4a602534d7e1f05d (patch)
treea1092bb8e57d166badd0d504e4129127c2d2b8e3 /sw
parentdcb0738b631c61999364bd8500f401f93bbfb84e (diff)
WaE: loplugin:staticmethods in the non-Java case
Change-Id: Ibebe470d0d0c00bfcaf7b3cb90aa102e8101b7bc
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/html/htmlplug.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/sw/source/filter/html/htmlplug.cxx b/sw/source/filter/html/htmlplug.cxx
index 8271967e7810..95e8e57fd8ba 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
}