sc/source/core/tool/interpr6.cxx | 1 + 1 file changed, 1 insertion(+) New commits: commit 31bf7e6aeb0f8c51e74fb181b547a9b8e7f7e5d1 Author: Åukasz Hryniuk <lukasz.hryn...@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.hryn...@wp.pl> Tested-by: Åukasz Hryniuk <lukasz.hryn...@wp.pl> (cherry picked from commit 793d1aba304217dcea6707a4b8acf5ac09f62e5a) Reviewed-on: https://gerrit.libreoffice.org/18842 Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@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; }
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits