https://bugs.documentfoundation.org/show_bug.cgi?id=159973

--- Comment #3 from Patrick Traill <[email protected]> ---
(In reply to Rafael Lima from comment #2)
> (In reply to Patrick Traill from comment #0)
> > It also seems to me that enumerating the precedent cells only returns the
> > first one, but I am not 100% sure that I am doing that right; that would
> > probably be different bug anyway.
> 
> You're enumerating correctly, but if the two ranges are adjacent to one
> another, it will return both together as a single range.
> 
> In my sample file, remove the gap column in Test 1 and run it... only a
> single range will be returned. Weird anyways, I would expect a different
> result.

I am not sure I understand you. Do you agree that enumerating the result of
getCells should return all the cells, not just one per range?
https://www.openoffice.org/api/docs/common/ref/com/sun/star/sheet/XSheetCellRanges.html#getCells
says it “creates an enumeration of all used cells”.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to