From c5d3b612fbb0fdcddc2225893c8ed5f0ec5b0cd3 Mon Sep 17 00:00:00 2001 From: Nick Burch Date: Wed, 17 Sep 2008 22:00:09 +0000 Subject: [PATCH] Fix jdk14 compile issue git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@696482 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java b/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java index eb37a57ce8..dead7cabfc 100644 --- a/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java +++ b/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java @@ -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()); } /**