openoffice-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject review requested: [Bug 122922] Writer crashes when deleting a row from a table after copying a text from a cell in the same row : [Attachment 81239] reverse the iteration to keep the iterators valid after an erase
Date Fri, 02 Aug 2013 11:58:32 GMT
hdu@apache.org <hdu@apache.org> has asked Oliver-Rainer Wittmann
<orw@apache.org> for review:
Bug 122922: Writer crashes when deleting a row from a table after copying a
text from a cell in the same row
https://issues.apache.org/ooo/show_bug.cgi?id=122922

Attachment 81239: reverse the iteration to keep the iterators valid after an
erase
https://issues.apache.org/ooo/attachment.cgi?id=81239&action=edit


------- Additional Comments from hdu@apache.org <hdu@apache.org>
When erasing in a vector the iterators before the erasing point remain valid
whereas the iterators after it become invalid. The idea behind the patch is to
use the order that prevents the use of invalid iterators.

With my patch suggestion applied I can no longer reproduce the crash.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Mime
View raw message