diff options
author | PJ Fanning <fanningpj@apache.org> | 2020-12-09 18:12:53 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2020-12-09 18:12:53 +0000 |
commit | 5aef414f2a6f7ec181f01255e5b56593a3c24723 (patch) | |
tree | 6cffb8517fa4b0fb920eb8b7ae1cdba61209237b /src/java | |
parent | 8d54ec7cc7b485fd8866b8612b07beab455a5018 (diff) | |
download | poi-5aef414f2a6f7ec181f01255e5b56593a3c24723.tar.gz poi-5aef414f2a6f7ec181f01255e5b56593a3c24723.zip |
remove more deprecated code (fix some issues)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884265 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java')
-rw-r--r-- | src/java/org/apache/poi/hssf/usermodel/HSSFCellStyle.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/poi/hssf/usermodel/HSSFCellStyle.java b/src/java/org/apache/poi/hssf/usermodel/HSSFCellStyle.java index db18e0fc9b..3f78756a7d 100644 --- a/src/java/org/apache/poi/hssf/usermodel/HSSFCellStyle.java +++ b/src/java/org/apache/poi/hssf/usermodel/HSSFCellStyle.java @@ -182,7 +182,7 @@ public final class HSSFCellStyle implements CellStyle, Duplicatable { } public void setFont(HSSFFont font) { _format.setIndentNotParentFont(true); - short fontindex = font.getIndex(); + short fontindex = (short) font.getIndex(); _format.setFontIndex(fontindex); } |