[Libreoffice-commits] core.git: basic/source
Stephan Bergmann
sbergman at redhat.com
Fri Apr 20 06:55:00 UTC 2018
basic/source/runtime/dllmgr-x64.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 4cb78942f25e9ea2e9a8445825438cd67b1c00f9
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Apr 20 08:53:16 2018 +0200
loplugin:expressionalwayszero (clang-cl)
Change-Id: If47b5bb3436ebdf799b74f7c0070f674ab52804e
diff --git a/basic/source/runtime/dllmgr-x64.cxx b/basic/source/runtime/dllmgr-x64.cxx
index 7933f0a044c8..0bafdec1fb32 100644
--- a/basic/source/runtime/dllmgr-x64.cxx
+++ b/basic/source/runtime/dllmgr-x64.cxx
@@ -511,7 +511,7 @@ ErrCode call(
case SbxBOOL:
case SbxBYTE:
iRetVal =
- proc_i(*reinterpret_cast<double *>(&stack[0*8]),
+ proc_i(*reinterpret_cast<double *>(&stack[0]),
*reinterpret_cast<double *>(&stack[1*8]),
*reinterpret_cast<double *>(&stack[2*8]),
*reinterpret_cast<double *>(&stack[3*8]),
@@ -535,7 +535,7 @@ ErrCode call(
case SbxSINGLE:
case SbxDOUBLE:
dRetVal =
- proc_d(*reinterpret_cast<double *>(&stack[0*8]),
+ proc_d(*reinterpret_cast<double *>(&stack[0]),
*reinterpret_cast<double *>(&stack[1*8]),
*reinterpret_cast<double *>(&stack[2*8]),
*reinterpret_cast<double *>(&stack[3*8]),
More information about the Libreoffice-commits
mailing list