mirror of https://github.com/apache/poi.git
fix NPE
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1187633 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e1424086c3
commit
5005fe6ce0
|
@ -1,8 +1,7 @@
|
|||
package org.apache.poi.hpsf;
|
||||
|
||||
import org.apache.poi.util.LittleEndian;
|
||||
|
||||
import org.apache.poi.util.Internal;
|
||||
import org.apache.poi.util.LittleEndian;
|
||||
|
||||
@Internal
|
||||
class Blob
|
||||
|
@ -19,7 +18,7 @@ class Blob
|
|||
return;
|
||||
}
|
||||
|
||||
_value = LittleEndian.getByteArray( _value, offset
|
||||
_value = LittleEndian.getByteArray( data, offset
|
||||
+ LittleEndian.INT_SIZE, size );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue