poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n...@apache.org
Subject svn commit: r941342 - in /poi/trunk/src: contrib/src/org/apache/poi/ss/usermodel/contrib/CellUtil.java documentation/content/xdocs/status.xml
Date Wed, 05 May 2010 15:24:24 GMT
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


Mime
View raw message