summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-05-04 09:06:08 -0400
committerKohei Yoshida <kyoshida@novell.com>2011-05-04 09:06:59 -0400
commit3152922a95e18814e32bcf8bc29c872077d05a65 (patch)
tree9786710241c767f0f6917200c9318978b0d787dd
parent8f34ffa5677bfc86ef5aa33811955c577f8799c3 (diff)
lp#775608: Libreoffice Calc's PRODUCT function doesn't calculate correctly.
Signed-off-by: Kohei Yoshida <kyoshida@novell.com>
-rw-r--r--sc/source/core/tool/interpr1.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx
index f561317f7..3bc30fa33 100644
--- a/sc/source/core/tool/interpr1.cxx
+++ b/sc/source/core/tool/interpr1.cxx
@@ -3448,13 +3448,13 @@ double ScInterpreter::IterateParameters( ScIterFunc eFunc, BOOL bTextAsZero )
if (nGlobalError)
break;
- IterateMatrix(pMat, eFunc, bTextAsZero, nCount, nFuncFmtType, fVal, fMem, fRes, bNull);
+ IterateMatrix(pMat, eFunc, bTextAsZero, nCount, nFuncFmtType, fVal, fRes, fMem, bNull);
}
break;
case svMatrix :
{
ScMatrixRef pMat = PopMatrix();
- IterateMatrix(pMat, eFunc, bTextAsZero, nCount, nFuncFmtType, fVal, fMem, fRes, bNull);
+ IterateMatrix(pMat, eFunc, bTextAsZero, nCount, nFuncFmtType, fVal, fRes, fMem, bNull);
}
break;
case svError: