mirror of
https://github.com/apache/poi.git
synced 2025-02-08 11:04:53 +00:00
Fix bug #51153 - Correct sizing of LbsDataSubRecord with unused padding fields
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1100017 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a00691b86a
commit
27732b7287
@ -34,6 +34,7 @@
|
|||||||
|
|
||||||
<changes>
|
<changes>
|
||||||
<release version="3.8-beta3" date="2011-??-??">
|
<release version="3.8-beta3" date="2011-??-??">
|
||||||
|
<action dev="poi-developers" type="fix">51153 - Correct sizing of LbsDataSubRecord with unused padding fields</action>
|
||||||
<action dev="poi-developers" type="fix">51143 - NameCommentRecord correction for writing non ASCII strings</action>
|
<action dev="poi-developers" type="fix">51143 - NameCommentRecord correction for writing non ASCII strings</action>
|
||||||
<action dev="poi-developers" type="fix">51112 - Correct XWPFTable tracking of new rows</action>
|
<action dev="poi-developers" type="fix">51112 - Correct XWPFTable tracking of new rows</action>
|
||||||
<action dev="poi-developers" type="fix">51113 - Correct XWPFParagraph tracking of inserted runs</action>
|
<action dev="poi-developers" type="fix">51113 - Correct XWPFParagraph tracking of inserted runs</action>
|
||||||
|
@ -381,7 +381,7 @@ public class LbsDataSubRecord extends SubRecord {
|
|||||||
public int getDataSize() {
|
public int getDataSize() {
|
||||||
int size = 6;
|
int size = 6;
|
||||||
size += StringUtil.getEncodedSize(_str);
|
size += StringUtil.getEncodedSize(_str);
|
||||||
size += _unused;
|
if(_unused != null) size++;
|
||||||
return size;
|
return size;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user