summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-01-13 17:20:28 +0100
committerDavid Tardon <dtardon@redhat.com>2016-04-26 19:35:07 +0000
commit876e4b77ffdc7a42250b2953bfa63346f74407d4 (patch)
treec32e4de6620a13aaeb942013635073867e63fb0d /basic
parente153df58650cc7eb7a87de03d7228dbbaffdfcfb (diff)
-Werror=misleading-indentation (GCC 6)
Change-Id: Ia633b859df94ede325469ec8a20e7383d2a178d4 (cherry picked from commit a20f9388f1487c68d707084e0213f17d899f531c) Signed-off-by: David Tardon <dtardon@redhat.com> Reviewed-on: https://gerrit.libreoffice.org/24407 Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'basic')
-rw-r--r--basic/source/sbx/sbxvalue.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/basic/source/sbx/sbxvalue.cxx b/basic/source/sbx/sbxvalue.cxx
index dc1a1447781d..d4b6c81c50e5 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: