diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-11-24 12:21:52 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-11-24 13:08:18 +0200 |
commit | c7d2794d5689e10283d0abbe0b6d422a85795410 (patch) | |
tree | 70908e96ec56463c38cff86b0e675aa593ab2d6a | |
parent | 92a0793265c66d289828c0193097b14b7e7e2d0f (diff) |
The initial value for PRODUCT should obviously be one, not zero
Change-Id: Id054d66e716fb5b176b687afc5d4121f3fa13765
-rw-r--r-- | sc/source/ui/optdlg/calcoptionsdlg.cxx | 2 |
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); |