From 4d8a410fbeb80e4a2ebea0add166a13dd42d2764 Mon Sep 17 00:00:00 2001 From: Sergey Vladimirov Date: Mon, 25 Jul 2011 09:08:00 +0000 Subject: [PATCH] correctly handle overlapping fields and bookmarks git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150601 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/poi/hwpf/converter/AbstractWordConverter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scratchpad/src/org/apache/poi/hwpf/converter/AbstractWordConverter.java b/src/scratchpad/src/org/apache/poi/hwpf/converter/AbstractWordConverter.java index 9d8a24b99..de3b6c75c 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/converter/AbstractWordConverter.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/converter/AbstractWordConverter.java @@ -283,7 +283,7 @@ public abstract class AbstractWordConverter bookmarkStack.addAll( bookmarks ); try { - Range subrange = new Range( previous, structure.start, + Range subrange = new Range( structure.start, structure.end, range ) { @Override