summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-12-25 23:50:40 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-12-26 00:14:16 +0100
commitd7238d87811d99f5b412457a1d3589b30819887d (patch)
tree872b50fcdec29809437671825adae6c1f90a4463
parent8a4584a059d1589a939d8c34b33884b11b43ec1a (diff)
fix handling of range parameters in COUNT, fdo#72999
Change-Id: I352c6b415f0990890702fa21175c196d7f4b12ee
-rw-r--r--sc/source/core/tool/interpr6.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/interpr6.cxx b/sc/source/core/tool/interpr6.cxx
index 8999e04e6764..f4045616d907 100644
--- a/sc/source/core/tool/interpr6.cxx
+++ b/sc/source/core/tool/interpr6.cxx
@@ -973,7 +973,7 @@ void ScInterpreter::ScCount()
FuncCount aAction;
aSet.executeColumnAction(*pDok, aAction);
- nCount = aAction.getCount();
+ nCount += aAction.getCount();
// Get the number format of the last iterated cell.
nFuncFmtIndex = aAction.getNumberFormat();