You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ni...@apache.org on 2010/05/05 17:24:24 UTC

svn commit: r941342 - in /poi/trunk/src: contrib/src/org/apache/poi/ss/usermodel/contrib/CellUtil.java documentation/content/xdocs/status.xml

Author: nick
Date: Wed May  5 15:24:23 2010
New Revision: 941342

URL: http://svn.apache.org/viewvc?rev=941342&view=rev
Log:
Fix bug #49254 - Fix CellUtils.setFont to use the correct type internally

Modified:
    poi/trunk/src/contrib/src/org/apache/poi/ss/usermodel/contrib/CellUtil.java
    poi/trunk/src/documentation/content/xdocs/status.xml

Modified: poi/trunk/src/contrib/src/org/apache/poi/ss/usermodel/contrib/CellUtil.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/contrib/src/org/apache/poi/ss/usermodel/contrib/CellUtil.java?rev=941342&r1=941341&r2=941342&view=diff
==============================================================================
--- poi/trunk/src/contrib/src/org/apache/poi/ss/usermodel/contrib/CellUtil.java (original)
+++ poi/trunk/src/contrib/src/org/apache/poi/ss/usermodel/contrib/CellUtil.java Wed May  5 15:24:23 2010
@@ -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());
 	}
 
 	/**

Modified: poi/trunk/src/documentation/content/xdocs/status.xml
URL: http://svn.apache.org/viewvc/poi/trunk/src/documentation/content/xdocs/status.xml?rev=941342&r1=941341&r2=941342&view=diff
==============================================================================
--- poi/trunk/src/documentation/content/xdocs/status.xml (original)
+++ poi/trunk/src/documentation/content/xdocs/status.xml Wed May  5 15:24:23 2010
@@ -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>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org