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

--- Comment #8 from Eike Rathke <[email protected]> ---
I think it should even be

+        if (nTab1 < 0 || nTab2 < 0)

(i.e. any deleted or otherwise set negative sheet can't form a valid range) but
otherwise looks like a sensible approach.

Question remains why this PostPaint() is called at all for an invalid range..

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

Reply via email to