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
268404a200
commit
629b80044f
@ -34,6 +34,7 @@
|
||||
|
||||
<changes>
|
||||
<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">51112 - Correct XWPFTable tracking of new rows</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() {
|
||||
int size = 6;
|
||||
size += StringUtil.getEncodedSize(_str);
|
||||
size += _unused;
|
||||
if(_unused != null) size++;
|
||||
return size;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user