poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kiwiwi...@apache.org
Subject svn commit: r1725022 - in /poi: site/src/documentation/content/xdocs/status.xml trunk/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFTextShape.java
Date Sat, 16 Jan 2016 19:27:58 GMT
Author: kiwiwings
Date: Sat Jan 16 19:27:58 2016
New Revision: 1725022

URL: http://svn.apache.org/viewvc?rev=1725022&view=rev
Log:
Fix NPE when calling HSLFTextRun.setHorizontalCentered()

Modified:
    poi/site/src/documentation/content/xdocs/status.xml
    poi/trunk/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFTextShape.java

Modified: poi/site/src/documentation/content/xdocs/status.xml
URL: http://svn.apache.org/viewvc/poi/site/src/documentation/content/xdocs/status.xml?rev=1725022&r1=1725021&r2=1725022&view=diff
==============================================================================
--- poi/site/src/documentation/content/xdocs/status.xml (original)
+++ poi/site/src/documentation/content/xdocs/status.xml Sat Jan 16 19:27:58 2016
@@ -40,6 +40,7 @@
     </devs>
 
     <release version="3.14-beta2" date="2016-??-??">
+        <action dev="PD" type="fix">Fix NPE when calling HSLFTextRun.setHorizontalCentered()</action>
         <action dev="PD" type="add" fixes-bug="58633">Set multiple cell style properties
at once</action>
         <action dev="PD" type="add" fixes-bug="56004">Support for WMF rendering</action>
         <action dev="PD" type="add" fixes-bug="56892">Add API for inserting ignored
warnings into XSSF sheets. This can be used e.g. to suppress 'number stored as text' warnings.</action>

Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFTextShape.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFTextShape.java?rev=1725022&r1=1725021&r2=1725022&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFTextShape.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFTextShape.java Sat Jan
16 19:27:58 2016
@@ -66,7 +66,7 @@ implements TextShape<HSLFShape,HSLFTextP
         MIDDLE                (1, VerticalAlignment.MIDDLE, false, false),
         BOTTOM                (2, VerticalAlignment.BOTTOM, false, false),
         TOP_CENTER            (3, VerticalAlignment.TOP,    true,  false),
-        MIDDLE_CENTER         (4, VerticalAlignment.MIDDLE, true,  null),
+        MIDDLE_CENTER         (4, VerticalAlignment.MIDDLE, true,  false),
         BOTTOM_CENTER         (5, VerticalAlignment.BOTTOM, true,  false),
         TOP_BASELINE          (6, VerticalAlignment.TOP,    false, true),
         BOTTOM_BASELINE       (7, VerticalAlignment.BOTTOM, false, true),



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


Mime
View raw message