[Libreoffice-commits] core.git: Branch 'libreoffice-5-1' - basic/source

Stephan Bergmann sbergman at redhat.com
Tue Apr 26 19:35:31 UTC 2016


 basic/source/sbx/sbxvalue.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 876e4b77ffdc7a42250b2953bfa63346f74407d4
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Jan 13 17:20:28 2016 +0100

    -Werror=misleading-indentation (GCC 6)
    
    Change-Id: Ia633b859df94ede325469ec8a20e7383d2a178d4
    (cherry picked from commit a20f9388f1487c68d707084e0213f17d899f531c)
    Signed-off-by: David Tardon <dtardon at redhat.com>
    Reviewed-on: https://gerrit.libreoffice.org/24407
    Tested-by: Jenkins <ci at libreoffice.org>

diff --git a/basic/source/sbx/sbxvalue.cxx b/basic/source/sbx/sbxvalue.cxx
index dc1a144..d4b6c81 100644
--- a/basic/source/sbx/sbxvalue.cxx
+++ b/basic/source/sbx/sbxvalue.cxx
@@ -1198,7 +1198,8 @@ Lbl_OpIsDouble:
                             aL.nDouble *= aR.nDouble; break;
                         case SbxDIV:
                             if( !aR.nDouble ) SetError( ERRCODE_SBX_ZERODIV );
-                            else aL.nDouble /= aR.nDouble; break;
+                            else aL.nDouble /= aR.nDouble;
+                            break;
                         case SbxPLUS:
                             aL.nDouble += aR.nDouble; break;
                         case SbxMINUS:


More information about the Libreoffice-commits mailing list