Fix bug #49254 - Fix CellUtils.setFont to use the correct type internally

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@941342 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Nick Burch 2010-05-05 15:24:23 +00:00
parent 8830bebd6d
commit a62b2d04e7
2 changed files with 2 additions and 1 deletions

View File

@ -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());
}
/**

View File

@ -34,6 +34,7 @@
<changes>
<release version="3.7-SNAPSHOT" date="2010-??-??">
<action dev="POI-DEVELOPERS" type="fix">49254 - Fix CellUtils.setFont to use the correct type internally</action>
<action dev="POI-DEVELOPERS" type="fix">49139 - Properly support 4k big block size in POIFS</action>
<action dev="POI-DEVELOPERS" type="fix">48936 - Avoid writing malformed CDATA blocks in sharedStrings.xml</action>
<action dev="POI-DEVELOPERS" type="add">49026 - Added implementation for TEXT() </action>