Apache OpenOffice (AOO) Bugzilla – Issue 74054
XEnumeration fails when trying to enumerate a selection near a text section contained in a table cell
Last modified: 2013-02-24 21:07:07 UTC
Normally, selected text within Writer can be enumerated by creating an XEnumeration on the selection's parts. For the specific case where a text section is contained within a table cell, a broken XEnumeration is returned if the selection is before or during the text section. (Selections in table cells with no sections, or in a table cell but after the last section contained within it, work as expected). Calling .hasMoreElements() on an enumeration broken in this way returns _true_, but attempting to actually access its elements with .nextElement() throws a NoSuchElementException. Java source illustrating the issue is attached. The bug has been seen on both 2.0.4/Linux and 2.1.0/Windows
Created attachment 42602 [details] Java source demonstrating a problem using XEnumeration with Writer selections
Reassined to CN.
I could reproduce this issue with oof680_m6
2.2.1 is only for urgent fixes -> 2.3
Since code freeze is near and some other issues still need to fixed: setting target to OOo 2.x
set target from 2.x to 3.x according to http://wiki.services.openoffice.org/wiki/Target_3x