]> source.dussan.org Git - poi.git/commitdiff
values in vector not padded
authorSergey Vladimirov <sergey@apache.org>
Sat, 22 Oct 2011 02:01:26 +0000 (02:01 +0000)
committerSergey Vladimirov <sergey@apache.org>
Sat, 22 Oct 2011 02:01:26 +0000 (02:01 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1187639 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/poi/hpsf/Vector.java

index 07c3456873329ee22ab44c59fd0358b1a07f4613..65caad3b987c1194f0f5d55103aef4fdb47d6760 100644 (file)
@@ -54,7 +54,8 @@ class Vector
             for ( int i = 0; i < length; i++ )
             {
                 TypedPropertyValue value = new TypedPropertyValue( _type, null );
-                offset += value.readValuePadded( data, offset );
+                // be aware: not padded here
+                offset += value.readValue( data, offset );
                 _values[i] = value;
             }
         }