summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-07-08 23:31:54 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-07-08 23:31:54 +0200
commit8ba3cb7bc40c8b0536f99572cd2a0725db29e525 (patch)
tree44ee634ff032b384b4076609f9c0284fd16feb9a
parent35ce23bd97995aa15a81eaa29c7a1d4feb78cd86 (diff)
Avoid loplugin:staticmethods in non-debug build
Change-Id: I41cf1baa9899a4c8af3382b0c7c047348bf3498e
-rw-r--r--svx/source/form/fmshell.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/svx/source/form/fmshell.cxx b/svx/source/form/fmshell.cxx
index 3f3ddfd440d6..fc286cab2aa7 100644
--- a/svx/source/form/fmshell.cxx
+++ b/svx/source/form/fmshell.cxx
@@ -1426,6 +1426,8 @@ SdrUnoObj* FmFormShell::GetFormControl( const Reference< XControlModel >& _rxMod
OSL_ENSURE( !pUnoObject, "FmFormShell::GetFormControl: the given control model belongs to a wrong page (displayed elsewhere)!" );
}
}
+#else
+ (void) this; // avoid loplugin:staticmethods
#endif
return NULL;