WMF - remove test output
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722249 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a3d4d2571f
commit
5a8442a16a
@ -18,7 +18,6 @@
|
||||
package org.apache.poi.hwmf.record;
|
||||
|
||||
import java.awt.image.BufferedImage;
|
||||
import java.io.FileOutputStream;
|
||||
import java.io.IOException;
|
||||
|
||||
import org.apache.poi.util.LittleEndianConsts;
|
||||
@ -77,9 +76,9 @@ public class HwmfBitmap16 {
|
||||
byte buf[] = new byte[bytes];
|
||||
leis.read(buf);
|
||||
|
||||
FileOutputStream fos = new FileOutputStream("bla16.bmp");
|
||||
fos.write(buf);
|
||||
fos.close();
|
||||
// FileOutputStream fos = new FileOutputStream("bla16.bmp");
|
||||
// fos.write(buf);
|
||||
// fos.close();
|
||||
|
||||
|
||||
// BufferedImage bi = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);
|
||||
|
@ -18,7 +18,6 @@
|
||||
package org.apache.poi.hwmf.usermodel;
|
||||
|
||||
import java.io.BufferedInputStream;
|
||||
import java.io.FileOutputStream;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.util.ArrayList;
|
||||
@ -71,12 +70,12 @@ public class HwmfPicture {
|
||||
int remainingSize = (int)(recordSize - consumedSize);
|
||||
assert(remainingSize >= 0);
|
||||
if (remainingSize > 0) {
|
||||
byte remaining[] = new byte[remainingSize];
|
||||
leis.read(remaining);
|
||||
FileOutputStream fos = new FileOutputStream("remaining.dat");
|
||||
fos.write(remaining);
|
||||
fos.close();
|
||||
// leis.skip(remainingSize);
|
||||
// byte remaining[] = new byte[remainingSize];
|
||||
// leis.read(remaining);
|
||||
// FileOutputStream fos = new FileOutputStream("remaining.dat");
|
||||
// fos.write(remaining);
|
||||
// fos.close();
|
||||
leis.skip(remainingSize);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user