mirror of https://github.com/apache/poi.git
fixed possible NPE in LbsDataSubRecord.toString()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@892461 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bed01967f0
commit
d52b3ed452
|
@ -243,7 +243,7 @@ public class LbsDataSubRecord extends SubRecord {
|
|||
sb.append("[ftLbsData]\n");
|
||||
sb.append(" .unknownShort1 =").append(HexDump.shortToHex(_cbFContinued)).append("\n");
|
||||
sb.append(" .formula = ").append('\n');
|
||||
sb.append(_linkPtg.toString()).append(_linkPtg.getRVAType()).append('\n');
|
||||
if(_linkPtg != null) sb.append(_linkPtg.toString()).append(_linkPtg.getRVAType()).append('\n');
|
||||
sb.append(" .nEntryCount =").append(HexDump.shortToHex(_cLines)).append("\n");
|
||||
sb.append(" .selEntryIx =").append(HexDump.shortToHex(_iSel)).append("\n");
|
||||
sb.append(" .style =").append(HexDump.shortToHex(_flags)).append("\n");
|
||||
|
|
Loading…
Reference in New Issue