Fix jdk14 compile issue

git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@696482 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Nick Burch 2008-09-17 22:00:09 +00:00
parent b3f56e20b2
commit c5d3b612fb
1 changed files with 1 additions and 1 deletions

View File

@ -1651,7 +1651,7 @@ public class HSSFSheet implements org.apache.poi.ss.usermodel.Sheet
* @param style the style to set * @param style the style to set
*/ */
public void setDefaultColumnStyle(short column, CellStyle style) { public void setDefaultColumnStyle(short column, CellStyle style) {
sheet.setDefaultColumnStyle(column, style.getIndex()); sheet.setDefaultColumnStyle(column, ((HSSFCellStyle)style).getIndex());
} }
/** /**