poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ser...@apache.org
Subject svn commit: r1178109 - /poi/trunk/src/java/org/apache/poi/hpsf/MutableProperty.java
Date Sun, 02 Oct 2011 00:48:49 GMT
Author: sergey
Date: Sun Oct  2 00:48:49 2011
New Revision: 1178109

URL: http://svn.apache.org/viewvc?rev=1178109&view=rev
Log:
rollback

Modified:
    poi/trunk/src/java/org/apache/poi/hpsf/MutableProperty.java

Modified: poi/trunk/src/java/org/apache/poi/hpsf/MutableProperty.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hpsf/MutableProperty.java?rev=1178109&r1=1178108&r2=1178109&view=diff
==============================================================================
--- poi/trunk/src/java/org/apache/poi/hpsf/MutableProperty.java (original)
+++ poi/trunk/src/java/org/apache/poi/hpsf/MutableProperty.java Sun Oct  2 00:48:49 2011
@@ -108,13 +108,6 @@ public class MutableProperty extends Pro
         int length = 0;
         long variantType = getType();
 
-        if ( variantType == 0x0002 )
-        {
-            TypeWriter
-                    .writeToStream( out, ( (Number) getValue() ).shortValue() );
-            return 2;
-        }
-
         /* Ensure that wide strings are written if the codepage is Unicode. */
         if (codepage == Constants.CP_UNICODE && variantType == Variant.VT_LPSTR)
             variantType = Variant.VT_LPWSTR;



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


Mime
View raw message