diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-07-08 23:26:57 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-07-08 23:26:57 +0200 |
commit | 35ce23bd97995aa15a81eaa29c7a1d4feb78cd86 (patch) | |
tree | ad9e0a4e79ed6b8e6f6b79d84aebd7d178d97b55 | |
parent | loplugin:stringconstant (diff) | |
download | core-35ce23bd97995aa15a81eaa29c7a1d4feb78cd86.tar.gz core-35ce23bd97995aa15a81eaa29c7a1d4feb78cd86.zip |
Avoid loplugin:staticmethods in non-debug build
Change-Id: I9f98e86556ed4435d24f49b32b848eb9f9a66008
-rw-r--r-- | include/xmloff/xmlexp.hxx | 2 | ||||
-rw-r--r-- | xmloff/source/text/txtimppr.cxx | 2 |
2 files changed, 3 insertions, 1 deletions
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 diff --git a/xmloff/source/text/txtimppr.cxx b/xmloff/source/text/txtimppr.cxx index ab11b94955aa..1a0f67ef2414 100644 --- a/xmloff/source/text/txtimppr.cxx +++ b/xmloff/source/text/txtimppr.cxx @@ -241,6 +241,8 @@ void XMLTextImportPropertyMapper::FontDefaultsCheck( aAny ); } } + + (void) this; // avoid loplugin:staticmethods } namespace { |