svx/source/form/fmshell.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 8ba3cb7bc40c8b0536f99572cd2a0725db29e525
Author: Stephan Bergmann <sberg...@redhat.com>
Date:   Wed Jul 8 23:31:54 2015 +0200

    Avoid loplugin:staticmethods in non-debug build
    
    Change-Id: I41cf1baa9899a4c8af3382b0c7c047348bf3498e

diff --git a/svx/source/form/fmshell.cxx b/svx/source/form/fmshell.cxx
index 3f3ddfd..fc286ca 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;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to