summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-11-24 12:21:52 +0200
committerTor Lillqvist <tml@collabora.com>2014-11-24 13:08:18 +0200
commitc7d2794d5689e10283d0abbe0b6d422a85795410 (patch)
tree70908e96ec56463c38cff86b0e675aa593ab2d6a /sc
parent92a0793265c66d289828c0193097b14b7e7e2d0f (diff)
The initial value for PRODUCT should obviously be one, not zero
Change-Id: Id054d66e716fb5b176b687afc5d4121f3fa13765
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/optdlg/calcoptionsdlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/optdlg/calcoptionsdlg.cxx b/sc/source/ui/optdlg/calcoptionsdlg.cxx
index ab52adbd6bb7..3a0af0ef0b47 100644
--- a/sc/source/ui/optdlg/calcoptionsdlg.cxx
+++ b/sc/source/ui/optdlg/calcoptionsdlg.cxx
@@ -1355,7 +1355,7 @@ IMPL_LINK( ScCalcOptionsDialog, TestClickHdl, PushButton*, )
return (nAccum + nArg);
}));
- pTestDocument->addTest(Reduction("Product", "PRODUCT", 500, 0, 0.1, 2.5, 3e-10,
+ pTestDocument->addTest(Reduction("Product", "PRODUCT", 500, 1, 0.1, 2.5, 3e-10,
[] (double nAccum, double nArg)
{
return (nAccum * nArg);