https://issues.apache.org/bugzilla/show_bug.cgi?id=56958

Yaniv Kunda <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #32001|0                           |1
        is obsolete|                            |

--- Comment #3 from Yaniv Kunda <[email protected]> ---
Created attachment 32003
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=32003&action=edit
fixes incorrect and incomplete intersection check

I realized the intersection check is flawed, as it only detected if one of two
corners of the region are in the arrayRange, where there are many cases where
two rectangles can intersect.

- Modified BaseTestSheetUpdateArrayFormulas.testModifyArrayCells_mergeCells to
test a few more cases (including positive testing)
- Added CellRangeAddressBase.intersects(CellRangeAddressBase other) to
correctly check intersection
- Fixed both XSSFSheet and HSSFSheet to use the new method

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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to