aboutsummaryrefslogtreecommitdiffstats
path: root/src/java
diff options
context:
space:
mode:
authorNick Burch <nick@apache.org>2008-09-17 22:00:09 +0000
committerNick Burch <nick@apache.org>2008-09-17 22:00:09 +0000
commitc5d3b612fbb0fdcddc2225893c8ed5f0ec5b0cd3 (patch)
tree91b2ca54a9c992f79ec0670ebf9cc2d1debe751c /src/java
parentb3f56e20b2a20a6e7a423c80e6bf94c92e5eb665 (diff)
downloadpoi-c5d3b612fbb0fdcddc2225893c8ed5f0ec5b0cd3.tar.gz
poi-c5d3b612fbb0fdcddc2225893c8ed5f0ec5b0cd3.zip
Fix jdk14 compile issue
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@696482 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java')
-rw-r--r--src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java2
1 files changed, 1 insertions, 1 deletions
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());
}
/**