summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-05-12 18:09:49 +0200
committerNorbert Thiebaud <nthiebaud@gmail.com>2013-05-13 17:14:41 +0000
commit4295dfd22cef24e881a4f769f59bf6fdcbc12f10 (patch)
treebe0079ad725be174873a6252970a771f2e900ee4
parent9b9ee3d5e2f2e45b0c94b631649ae13cdbc1f0c3 (diff)
cppcheck: fix uselessAssignmentPtrArg
Change-Id: I260bb1207cebb8cefb52fe1db3f51b63239b25a7 Reviewed-on: https://gerrit.libreoffice.org/3873 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
-rw-r--r--sc/source/core/tool/consoli.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/consoli.cxx b/sc/source/core/tool/consoli.cxx
index 286261e28978..5f053832a6c2 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;