From 35ce23bd97995aa15a81eaa29c7a1d4feb78cd86 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 8 Jul 2015 23:26:57 +0200 Subject: Avoid loplugin:staticmethods in non-debug build Change-Id: I9f98e86556ed4435d24f49b32b848eb9f9a66008 --- include/xmloff/xmlexp.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/xmloff') diff --git a/include/xmloff/xmlexp.hxx b/include/xmloff/xmlexp.hxx index dc47596359bf..83c03dcb4dd9 100644 --- a/include/xmloff/xmlexp.hxx +++ b/include/xmloff/xmlexp.hxx @@ -340,7 +340,7 @@ public: // Check if common attribute list is empty. #ifndef DBG_UTIL - void CheckAttrList() {} + void CheckAttrList() { (void) this; /* avoid loplugin:staticmethods */ } #else void CheckAttrList(); #endif -- cgit