Fix 1.6ism
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@999349 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b8ac27ed99
commit
881aff2e42
@ -106,7 +106,10 @@ public class Ole10Native {
|
||||
dataBuffer = new byte[totalSize-4];
|
||||
System.arraycopy(data, 4, dataBuffer, 0, dataBuffer.length);
|
||||
dataSize = totalSize - 4;
|
||||
label = "ole-"+ HexDump.toHex(Arrays.copyOf(dataBuffer, 8));
|
||||
|
||||
byte[] oleLabel = new byte[8];
|
||||
System.arraycopy(dataBuffer, 0, oleLabel, 0, Math.min(dataBuffer.length, 8));
|
||||
label = "ole-"+ HexDump.toHex(oleLabel);
|
||||
fileName = label;
|
||||
command = label;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user