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:12:51 +0100
commit5bb8a2868316a644646857047be032c17787cac5 (patch)
tree85db0798e33de80c0ced22a8d57afdf70100b5f3
parentb95ad38e6ccfc4329abe8dd61aa03813b485729b (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();