From: Yegor Kozlov Date: Tue, 13 Mar 2012 07:20:38 +0000 (+0000) Subject: Bugzilla 52895 - show SSTIndex instead of XFIndex in LabelSSTRecord.toString() X-Git-Tag: REL_3_8_FINAL~4 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3cc9a17b2353e45b1d5c9314886247d4ff551659;p=poi.git Bugzilla 52895 - show SSTIndex instead of XFIndex in LabelSSTRecord.toString() git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1299990 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/documentation/content/xdocs/status.xml b/src/documentation/content/xdocs/status.xml index 8d0cb5dc94..abf8b7e4da 100644 --- a/src/documentation/content/xdocs/status.xml +++ b/src/documentation/content/xdocs/status.xml @@ -34,6 +34,7 @@ + 52895 - show SSTIndex instead of XFIndex in LabelSSTRecord.toString() 52835 - Tolerate missing Count and UniqueCount attributes when parsing shared strings table in XSSF eventusermodel 52818 - Added implementation for RANK() 52682 - allow setting text with trailing carriage return in HSLF diff --git a/src/java/org/apache/poi/hssf/record/LabelSSTRecord.java b/src/java/org/apache/poi/hssf/record/LabelSSTRecord.java index 83667ef55f..8f279caf99 100644 --- a/src/java/org/apache/poi/hssf/record/LabelSSTRecord.java +++ b/src/java/org/apache/poi/hssf/record/LabelSSTRecord.java @@ -70,7 +70,7 @@ public final class LabelSSTRecord extends CellRecord { @Override protected void appendValueText(StringBuilder sb) { sb.append(" .sstIndex = "); - sb.append(HexDump.shortToHex(getXFIndex())); + sb.append(HexDump.shortToHex(getSSTIndex())); } @Override protected void serializeValue(LittleEndianOutput out) {