You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by se...@apache.org on 2011/07/25 11:08:00 UTC

svn commit: r1150601 - /poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/converter/AbstractWordConverter.java

Author: sergey
Date: Mon Jul 25 09:08:00 2011
New Revision: 1150601

URL: http://svn.apache.org/viewvc?rev=1150601&view=rev
Log:
correctly handle overlapping fields and bookmarks

Modified:
    poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/converter/AbstractWordConverter.java

Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/converter/AbstractWordConverter.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/converter/AbstractWordConverter.java?rev=1150601&r1=1150600&r2=1150601&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/converter/AbstractWordConverter.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/converter/AbstractWordConverter.java Mon Jul 25 09:08:00 2011
@@ -283,7 +283,7 @@ public abstract class AbstractWordConver
                 bookmarkStack.addAll( bookmarks );
                 try
                 {
-                    Range subrange = new Range( previous, structure.start,
+                    Range subrange = new Range( structure.start, structure.end,
                             range )
                     {
                         @Override



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org