ASF Bugzilla – Attachment 12353 Details for
Bug 27852
[PATCH] POI wrongly reports a name for a cell formula that references a name
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Here's a patch to version 1.15 of NameRecord.java - in diff unified format
NameRecord-1.15.unified-patch.java (text/plain), 1.75 KB, created by
Brice Copy
on 2004-08-06 15:55:24 UTC
(
hide
)
Description:
Here's a patch to version 1.15 of NameRecord.java - in diff unified format
Filename:
MIME Type:
Creator:
Brice Copy
Created:
2004-08-06 15:55:24 UTC
Size:
1.75 KB
patch
obsolete
>--- NameRecord.java 2004-08-06 17:43:49.813523000 +0200 >+++ NameRecord-1.15.java 2004-04-09 15:05:20.000000000 +0200 >@@ -617,14 +617,7 @@ > * @return extern sheet index > */ > public short getExternSheetNumber(){ >- ////////////// >- // Patch to POI bug 27852 >- if (field_13_name_definition == null || field_13_name_definition.isEmpty()) return 0; >- // Was : >- // if (field_13_name_definition == null) return 0; >- // end of patch >- //////////////// >- >+ if (field_13_name_definition == null) return 0; > Ptg ptg = (Ptg) field_13_name_definition.peek(); > short result = 0; > >@@ -671,13 +664,7 @@ > * @return area reference > */ > public String getAreaReference(Workbook book){ >- ////////////// >- // Patch to POI bug 27852 >- if (field_13_name_definition == null || field_13_name_definition.isEmpty()) return "#REF!"; >- // Was : >- // if (field_13_name_definition == null ) return "#REF!"; >- // end of patch >- //////////////// >+ if (field_13_name_definition == null) return "#REF!"; > Ptg ptg = (Ptg) field_13_name_definition.peek(); > String result = ""; > >@@ -937,8 +924,7 @@ > .append("\n"); > buffer.append(" .Status bar text (Unicode string without length field) = ").append( field_17_status_bar_text ) > .append("\n"); >- if (field_13_raw_name_definition != null) >- buffer.append(org.apache.poi.util.HexDump.dump(this.field_13_raw_name_definition,0,0)); >+ buffer.append(org.apache.poi.util.HexDump.dump(this.field_13_raw_name_definition,0,0)); > buffer.append("[/NAME]\n"); > > return buffer.toString();
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 27852
:
10908
|
10909
| 12353