poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n...@apache.org
Subject svn commit: r696482 - /poi/branches/ooxml/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java
Date Wed, 17 Sep 2008 22:00:09 GMT
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


Mime
View raw message