[Libreoffice-commits] core.git: svx/source

Stephan Bergmann sbergman at redhat.com
Wed Jul 8 14:32:31 PDT 2015


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

New commits:
commit 8ba3cb7bc40c8b0536f99572cd2a0725db29e525
Author: Stephan Bergmann <sbergman at 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;


More information about the Libreoffice-commits mailing list