mirror of
https://github.com/apache/poi.git
synced 2026-02-27 20:40:08 +08:00
additional check and workaround for wrong order (fix TestWordExtractorBugs.testBug50688)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144361 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
be4954823e
commit
a26777942b
@ -182,6 +182,13 @@ public class FieldsTables
|
||||
GenericPropertyNode endNode = nodes[endNodePositionInArray];
|
||||
PlexOfField endPlexOfField = new PlexOfField( endNode );
|
||||
|
||||
if ( endPlexOfField.getFld().getBoundaryType() != FieldDescriptor.FIELD_END_MARK )
|
||||
{
|
||||
/* Not and ending mark */
|
||||
next++;
|
||||
continue;
|
||||
}
|
||||
|
||||
Field field = new Field( startPlexOfField,
|
||||
separatorPlexOfField, endPlexOfField );
|
||||
result.add( field );
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user