diff --git a/src/contrib/src/org/apache/poi/ss/usermodel/contrib/CellUtil.java b/src/contrib/src/org/apache/poi/ss/usermodel/contrib/CellUtil.java index d18cd4159b..2cb2c08970 100644 --- a/src/contrib/src/org/apache/poi/ss/usermodel/contrib/CellUtil.java +++ b/src/contrib/src/org/apache/poi/ss/usermodel/contrib/CellUtil.java @@ -165,7 +165,7 @@ public final class CellUtil { *@param font The Font that you want to set... */ public static void setFont(Cell cell, Workbook workbook, Font font) { - setCellStyleProperty(cell, workbook, FONT, font); + setCellStyleProperty(cell, workbook, FONT, font.getIndex()); } /** diff --git a/src/documentation/content/xdocs/status.xml b/src/documentation/content/xdocs/status.xml index d9eb624850..78bda68a9b 100644 --- a/src/documentation/content/xdocs/status.xml +++ b/src/documentation/content/xdocs/status.xml @@ -34,6 +34,7 @@ + 49254 - Fix CellUtils.setFont to use the correct type internally 49139 - Properly support 4k big block size in POIFS 48936 - Avoid writing malformed CDATA blocks in sharedStrings.xml 49026 - Added implementation for TEXT()