tdf117433 COUNIF doesn't count cells after first column in range for empty criteria

2018-05-08 Thread Winfried Donkers
Hi Eike, I found what causes the problem of bug tdf117443, but I don't understand why the code is as it is now and therefore I am reluctant to change it. In sc/source/core/data/dociter.cxx:ScQueryValueIterator::GetThis() there is a loop in lines 1132-1143 that is entered as soon as the first

Re: tdf117433 COUNIF doesn't count cells after first column in range for empty criteria

2018-05-08 Thread Winfried Donkers
Hi Eike, On 05/08/2018 02:52 PM, Eike Rathke wrote: In sc/source/core/data/dociter.cxx:ScQueryValueIterator::GetThis() ScQueryCellIterator::GetThis() that is.. Sorry for that.. Would it be a good idea to add a boolean mbDontSkipEmptyCols to ScQueryValueIterator which is only set to true for

Re: tdf117433 COUNIF doesn't count cells after first column in range for empty criteria

2018-05-08 Thread Eike Rathke
Hi Winfried, On Tuesday, 2018-05-08 07:46:46 +, Winfried Donkers wrote: > I found what causes the problem of bug tdf117443, but I don't understand why > the code is as it is now and therefore I am reluctant to change it. > In sc/source/core/data/dociter.cxx:ScQueryValueIterator::GetThis()