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 500a5d918d
commit 3aa8aaa5c0

View File

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