From 21602bba1e3f0c8e996efb8c2307867796d9838a Mon Sep 17 00:00:00 2001 From: Sergey Vladimirov Date: Sat, 22 Oct 2011 02:01:26 +0000 Subject: [PATCH] values in vector not padded 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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/java/org/apache/poi/hpsf/Vector.java b/src/java/org/apache/poi/hpsf/Vector.java index 07c3456873..65caad3b98 100644 --- a/src/java/org/apache/poi/hpsf/Vector.java +++ b/src/java/org/apache/poi/hpsf/Vector.java @@ -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; } } -- 2.39.5