summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2015-09-25 10:15:31 +0000
committerEike Rathke <erack@redhat.com>2015-09-25 10:16:07 +0000
commit5b2507fe8a82092efbd02e7d1865288e03dc4194 (patch)
treee6092a8d2d7f06bd13c2addca980bbbd0d467abc
parent421b17a602ea7993c124c4d25e58eb284a443b1c (diff)
Revert "Fix a bug in SUMSQ"
This reverts commit 793d1aba304217dcea6707a4b8acf5ac09f62e5a. Just discovered that this is wrong, sorry for fuzz. Change-Id: Id8365f00f615275d3bdd41ab630729e6f19ac577 Reviewed-on: https://gerrit.libreoffice.org/18848 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
-rw-r--r--sc/source/core/tool/interpr6.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/sc/source/core/tool/interpr6.cxx b/sc/source/core/tool/interpr6.cxx
index 75aacd8695ea..69a11a0abde9 100644
--- a/sc/source/core/tool/interpr6.cxx
+++ b/sc/source/core/tool/interpr6.cxx
@@ -408,7 +408,6 @@ void IterateMatrix(
case ifSUMSQ:
{
ScMatrix::IterateResult aRes = pMat->SumSquare(bTextAsZero);
- fRes = aRes.mfFirst;
fRes += aRes.mfRest;
rCount += aRes.mnCount;
}