summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2015-09-25 09:58:00 +0000
committerAndras Timar <andras.timar@collabora.com>2015-10-02 14:58:32 +0200
commita082ae809686503715605d482865a3b136491ffb (patch)
treee238f03d1e34b26631dfcdb472ce1880db78dd29
parent30398e41f9455b3ebd8581d01568c6e0eb44bddd (diff)
Revert "Fix a bug in SUMSQ"
This reverts commit 2c6b94672e8536ade098244c9c32e67dd23e119a. Just discovered that this is wrong, sorry for fuzz. Change-Id: I66f0d69ee6f558d2dc968ecdfff6f9dd42332a7e Reviewed-on: https://gerrit.libreoffice.org/18845 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 3872cfc25226..7eac4eb90f73 100644
--- a/sc/source/core/tool/interpr6.cxx
+++ b/sc/source/core/tool/interpr6.cxx
@@ -395,7 +395,6 @@ void IterateMatrix(
case ifSUMSQ:
{
ScMatrix::IterateResult aRes = pMat->SumSquare(bTextAsZero);
- fRes = aRes.mfFirst;
fRes += aRes.mfRest;
rCount += aRes.mnCount;
}