mirror of https://github.com/apache/poi.git
Explicit cast
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@757904 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8200f5d989
commit
5e947a3a6a
|
@ -1133,10 +1133,9 @@ public class HSSFWorkbook extends POIDocument implements org.apache.poi.ss.userm
|
||||||
* @param idx index within the set of styles
|
* @param idx index within the set of styles
|
||||||
* @return HSSFCellStyle object at the index
|
* @return HSSFCellStyle object at the index
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public HSSFCellStyle getCellStyleAt(short idx)
|
public HSSFCellStyle getCellStyleAt(short idx)
|
||||||
{
|
{
|
||||||
ExtendedFormatRecord xfr = workbook.getExFormatAt(idx);
|
ExtendedFormatRecord xfr = workbook.getExFormatAt((int)idx);
|
||||||
HSSFCellStyle style = new HSSFCellStyle(idx, xfr, this);
|
HSSFCellStyle style = new HSSFCellStyle(idx, xfr, this);
|
||||||
|
|
||||||
return style;
|
return style;
|
||||||
|
|
Loading…
Reference in New Issue