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

Stephan Bergmann sbergman at redhat.com
Fri Oct 11 03:20:28 PDT 2013


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

New commits:
commit 521cf8fe4d953b8af72c666403f965d624dbfa99
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Oct 11 12:19:50 2013 +0200

    loplugin if-body warning
    
    Change-Id: If19c06fafc6bdf121e72e49329c89839693297bf

diff --git a/svx/source/form/fmpgeimp.cxx b/svx/source/form/fmpgeimp.cxx
index 2dc6275..86842ed 100644
--- a/svx/source/form/fmpgeimp.cxx
+++ b/svx/source/form/fmpgeimp.cxx
@@ -266,7 +266,9 @@ namespace
         Reference< XControlModel > xControlModel( _object.GetUnoControlModel(), UNO_QUERY );
         OSL_ENSURE( xControlModel.is(), "lcl_removeFormObject: suspicious: no control model!" );
         if ( !xControlModel.is() )
+        {
             return;
+        }
 
     #if OSL_DEBUG_LEVEL > 0
         Any aOldAssignment =


More information about the Libreoffice-commits mailing list