aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/poi/hssf/usermodel/HSSFFont.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/poi/hssf/usermodel/HSSFFont.java')
-rw-r--r--src/java/org/apache/poi/hssf/usermodel/HSSFFont.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/poi/hssf/usermodel/HSSFFont.java b/src/java/org/apache/poi/hssf/usermodel/HSSFFont.java
index 73b402facd..aed0c513fd 100644
--- a/src/java/org/apache/poi/hssf/usermodel/HSSFFont.java
+++ b/src/java/org/apache/poi/hssf/usermodel/HSSFFont.java
@@ -309,7 +309,7 @@ public final class HSSFFont implements Font {
{
byte charset = font.getCharset();
if(charset >= 0) {
- return (int)charset;
+ return charset;
} else {
return charset + 256;
}