You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ni...@apache.org on 2008/09/18 00:00:09 UTC

svn commit: r696482 - /poi/branches/ooxml/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java

Author: nick
Date: Wed Sep 17 15:00:09 2008
New Revision: 696482

URL: http://svn.apache.org/viewvc?rev=696482&view=rev
Log:
Fix jdk14 compile issue

Modified:
    poi/branches/ooxml/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java

Modified: poi/branches/ooxml/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java
URL: http://svn.apache.org/viewvc/poi/branches/ooxml/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java?rev=696482&r1=696481&r2=696482&view=diff
==============================================================================
--- poi/branches/ooxml/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java (original)
+++ poi/branches/ooxml/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java Wed Sep 17 15:00:09 2008
@@ -1651,7 +1651,7 @@
      * @param style the style to set
      */
     public void setDefaultColumnStyle(short column, CellStyle style) {
-        sheet.setDefaultColumnStyle(column, style.getIndex());
+        sheet.setDefaultColumnStyle(column, ((HSSFCellStyle)style).getIndex());
     }
 
     /**



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org