ASF Bugzilla – Attachment 21571 Details for
Bug 44456
I need to view a .xsl file with an empty row into the table
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
svn diff of one changed file
patch44456-diff.txt (text/plain), 940 bytes, created by
Josh Micich
on 2008-02-20 11:56:15 UTC
(
hide
)
Description:
svn diff of one changed file
Filename:
MIME Type:
Creator:
Josh Micich
Created:
2008-02-20 11:56:15 UTC
Size:
940 bytes
patch
obsolete
>Index: src/contrib/src/org/apache/poi/hssf/contrib/view/SVRowHeader.java >=================================================================== >--- src/contrib/src/org/apache/poi/hssf/contrib/view/SVRowHeader.java (revision 629569) >+++ src/contrib/src/org/apache/poi/hssf/contrib/view/SVRowHeader.java (working copy) >@@ -73,7 +73,13 @@ > public Component getListCellRendererComponent( JList list, > Object value, int index, boolean isSelected, boolean cellHasFocus) { > Dimension d = getPreferredSize(); >- int rowHeight = (int)sheet.getRow(index).getHeightInPoints(); >+ HSSFRow row = sheet.getRow(index); >+ int rowHeight; >+ if(row == null) { >+ rowHeight = (int)sheet.getDefaultRowHeightInPoints(); >+ } else { >+ rowHeight = (int)row.getHeightInPoints(); >+ } > d.height = rowHeight+extraHeight; > setPreferredSize(d); > setText((value == null) ? "" : value.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 44456
: 21571 |
21572