diff options
author | Nick Burch <nick@apache.org> | 2007-12-04 12:55:26 +0000 |
---|---|---|
committer | Nick Burch <nick@apache.org> | 2007-12-04 12:55:26 +0000 |
commit | 38cdbd411426e30ecd960a1ecf4fc10fef382167 (patch) | |
tree | 2ffd0e212a2a3a5a7567241748338edcf858dcc2 /src/java/org/apache/poi/poifs | |
parent | ad49ccab2d9cfdfba6f07a3ae991c3c8be909c56 (diff) | |
download | poi-38cdbd411426e30ecd960a1ecf4fc10fef382167.tar.gz poi-38cdbd411426e30ecd960a1ecf4fc10fef382167.zip |
SBAT fix from bug #11744
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@600916 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/poi/poifs')
-rw-r--r-- | src/java/org/apache/poi/poifs/storage/SmallBlockTableWriter.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/java/org/apache/poi/poifs/storage/SmallBlockTableWriter.java b/src/java/org/apache/poi/poifs/storage/SmallBlockTableWriter.java index f5bb58a76f..4f89af1545 100644 --- a/src/java/org/apache/poi/poifs/storage/SmallBlockTableWriter.java +++ b/src/java/org/apache/poi/poifs/storage/SmallBlockTableWriter.java @@ -19,6 +19,7 @@ package org.apache.poi.poifs.storage; +import org.apache.poi.poifs.common.POIFSConstants; import org.apache.poi.poifs.filesystem.BATManaged; import org.apache.poi.poifs.filesystem.POIFSDocument; import org.apache.poi.poifs.property.RootProperty; @@ -69,6 +70,8 @@ public class SmallBlockTableWriter { _small_blocks.add(blocks[ j ]); } + } else { + doc.setStartBlock(POIFSConstants.END_OF_CHAIN); } } _sbat.simpleCreateBlocks(); |