[Libreoffice-commits] core.git: Branch 'libreoffice-4-4' - sc/source
Łukasz Hryniuk
lukasz.hryniuk at wp.pl
Fri Sep 25 02:49:26 PDT 2015
sc/source/core/tool/interpr6.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 31bf7e6aeb0f8c51e74fb181b547a9b8e7f7e5d1
Author: Łukasz Hryniuk <lukasz.hryniuk at wp.pl>
Date: Tue Sep 22 16:44:03 2015 +0200
Fix a bug in SUMSQ
The same one as was in SumMXMY2, with IterateResult.
Change-Id: I18a5993493ca7514848baad25232f4c254c1e044
Reviewed-on: https://gerrit.libreoffice.org/18765
Reviewed-by: Łukasz Hryniuk <lukasz.hryniuk at wp.pl>
Tested-by: Łukasz Hryniuk <lukasz.hryniuk at wp.pl>
(cherry picked from commit 793d1aba304217dcea6707a4b8acf5ac09f62e5a)
Reviewed-on: https://gerrit.libreoffice.org/18842
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sc/source/core/tool/interpr6.cxx b/sc/source/core/tool/interpr6.cxx
index 7eac4eb..3872cfc 100644
--- a/sc/source/core/tool/interpr6.cxx
+++ b/sc/source/core/tool/interpr6.cxx
@@ -395,6 +395,7 @@ void IterateMatrix(
case ifSUMSQ:
{
ScMatrix::IterateResult aRes = pMat->SumSquare(bTextAsZero);
+ fRes = aRes.mfFirst;
fRes += aRes.mfRest;
rCount += aRes.mnCount;
}
More information about the Libreoffice-commits
mailing list