From 5727e492e05d0ba65afc2ba3d061f1aefee0f799 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 9d8a24b990..de3b6c75c8 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