[Libreoffice-commits] core.git: sc/source

Julien Nabet serval2412 at yahoo.fr
Mon May 13 10:15:01 PDT 2013


 sc/source/core/tool/consoli.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4295dfd22cef24e881a4f769f59bf6fdcbc12f10
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sun May 12 18:09:49 2013 +0200

    cppcheck: fix uselessAssignmentPtrArg
    
    Change-Id: I260bb1207cebb8cefb52fe1db3f51b63239b25a7
    Reviewed-on: https://gerrit.libreoffice.org/3873
    Reviewed-by: Norbert Thiebaud <nthiebaud at gmail.com>
    Tested-by: Norbert Thiebaud <nthiebaud at gmail.com>

diff --git a/sc/source/core/tool/consoli.cxx b/sc/source/core/tool/consoli.cxx
index 286261e..5f05383 100644
--- a/sc/source/core/tool/consoli.cxx
+++ b/sc/source/core/tool/consoli.cxx
@@ -420,7 +420,7 @@ static void lcl_InitArray( ScSubTotalFunc eFunc,
 }
 
 static double lcl_CalcData( ScSubTotalFunc eFunc,
-                        double fCount, double fSum, double fSumSqr)
+                        double& fCount, double fSum, double fSumSqr)
 {
     if (fCount < 0.0)
         return 0.0;


More information about the Libreoffice-commits mailing list