Apply patch from bug #52035 - Fix signed issue with very large word 6 files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1183629 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
be50ad102f
commit
32ffb44def
@ -34,6 +34,7 @@
|
|||||||
|
|
||||||
<changes>
|
<changes>
|
||||||
<release version="3.8-beta5" date="2011-??-??">
|
<release version="3.8-beta5" date="2011-??-??">
|
||||||
|
<action dev="poi-developers" type="fix">52035 - Fix signed issue with very large word 6 files</action>
|
||||||
<action dev="poi-developers" type="fix">51949 - Avoid NPE on double close of ZipFileZipEntrySource</action>
|
<action dev="poi-developers" type="fix">51949 - Avoid NPE on double close of ZipFileZipEntrySource</action>
|
||||||
<action dev="poi-developers" type="fix">51950 - XWPF fix for footnotes not always being present in a document</action>
|
<action dev="poi-developers" type="fix">51950 - XWPF fix for footnotes not always being present in a document</action>
|
||||||
<action dev="poi-developers" type="fix">51963 - Correct AreaReference handling of references containing a sheet name which includes a comma</action>
|
<action dev="poi-developers" type="fix">51963 - Correct AreaReference handling of references containing a sheet name which includes a comma</action>
|
||||||
|
@ -53,7 +53,7 @@ public final class OldCHPBinTable extends CHPBinTable
|
|||||||
{
|
{
|
||||||
GenericPropertyNode node = binTable.getProperty(x);
|
GenericPropertyNode node = binTable.getProperty(x);
|
||||||
|
|
||||||
int pageNum = LittleEndian.getShort(node.getBytes());
|
int pageNum = LittleEndian.getUShort(node.getBytes());
|
||||||
int pageOffset = POIFSConstants.SMALLER_BIG_BLOCK_SIZE * pageNum;
|
int pageOffset = POIFSConstants.SMALLER_BIG_BLOCK_SIZE * pageNum;
|
||||||
|
|
||||||
CHPFormattedDiskPage cfkp = new CHPFormattedDiskPage(documentStream,
|
CHPFormattedDiskPage cfkp = new CHPFormattedDiskPage(documentStream,
|
||||||
|
@ -45,7 +45,7 @@ public final class OldPAPBinTable extends PAPBinTable
|
|||||||
{
|
{
|
||||||
GenericPropertyNode node = binTable.getProperty(x);
|
GenericPropertyNode node = binTable.getProperty(x);
|
||||||
|
|
||||||
int pageNum = LittleEndian.getShort(node.getBytes());
|
int pageNum = LittleEndian.getUShort(node.getBytes());
|
||||||
int pageOffset = POIFSConstants.SMALLER_BIG_BLOCK_SIZE * pageNum;
|
int pageOffset = POIFSConstants.SMALLER_BIG_BLOCK_SIZE * pageNum;
|
||||||
|
|
||||||
PAPFormattedDiskPage pfkp = new PAPFormattedDiskPage(documentStream,
|
PAPFormattedDiskPage pfkp = new PAPFormattedDiskPage(documentStream,
|
||||||
|
Loading…
Reference in New Issue
Block a user