poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n...@apache.org
Subject svn commit: r757904 - /poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java
Date Tue, 24 Mar 2009 17:00:03 GMT
Author: nick
Date: Tue Mar 24 17:00:00 2009
New Revision: 757904

URL: http://svn.apache.org/viewvc?rev=757904&view=rev
Log:
Explicit cast

Modified:
    poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java

Modified: poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java?rev=757904&r1=757903&r2=757904&view=diff
==============================================================================
--- poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java (original)
+++ poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java Tue Mar 24 17:00:00
2009
@@ -1133,10 +1133,9 @@
      * @param idx  index within the set of styles
      * @return HSSFCellStyle object at the index
      */
-
     public HSSFCellStyle getCellStyleAt(short idx)
     {
-        ExtendedFormatRecord xfr = workbook.getExFormatAt(idx);
+        ExtendedFormatRecord xfr = workbook.getExFormatAt((int)idx);
         HSSFCellStyle style = new HSSFCellStyle(idx, xfr, this);
 
         return style;



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


Mime
View raw message