fixed bug http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13092 NameRecord
no longer throws an NPE. I think this is due to unknown PTGs. -Andy PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352875 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e0b73de5bf
commit
304301c757
@ -755,7 +755,8 @@ public class NameRecord extends Record {
|
||||
.append("\n");
|
||||
buffer.append(" .Name (Unicode text) = ").append( field_12_name_text )
|
||||
.append("\n");
|
||||
buffer.append(" .Formula data (RPN token array without size field) = ").append( HexDump.toHex( field_13_raw_name_definition ) )
|
||||
buffer.append(" .Formula data (RPN token array without size field) = ").append( HexDump.toHex(
|
||||
((field_13_raw_name_definition != null) ? field_13_raw_name_definition : new byte[0] ) ) )
|
||||
.append("\n");
|
||||
buffer.append(" .Menu text (Unicode string without length field) = ").append( field_14_custom_menu_text )
|
||||
.append("\n");
|
||||
|
Loading…
Reference in New Issue
Block a user