[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - sc/source

Markus Mohrhard markus.mohrhard at googlemail.com
Wed Dec 25 15:14:45 PST 2013


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

New commits:
commit d7238d87811d99f5b412457a1d3589b30819887d
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Wed Dec 25 23:50:40 2013 +0100

    fix handling of range parameters in COUNT, fdo#72999
    
    Change-Id: I352c6b415f0990890702fa21175c196d7f4b12ee

diff --git a/sc/source/core/tool/interpr6.cxx b/sc/source/core/tool/interpr6.cxx
index 8999e04..f404561 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();


More information about the Libreoffice-commits mailing list