[Libreoffice-commits] core.git: sc/source
Łukasz Hryniuk
lukasz.hryniuk at wp.pl
Thu Sep 24 13:11:48 PDT 2015
sc/source/core/tool/interpr6.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 793d1aba304217dcea6707a4b8acf5ac09f62e5a
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>
diff --git a/sc/source/core/tool/interpr6.cxx b/sc/source/core/tool/interpr6.cxx
index 69a11a0..75aacd86 100644
--- a/sc/source/core/tool/interpr6.cxx
+++ b/sc/source/core/tool/interpr6.cxx
@@ -408,6 +408,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