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;
|
package org.apache.poi.hwmf.record;
|
||||||
|
|
||||||
import java.awt.image.BufferedImage;
|
import java.awt.image.BufferedImage;
|
||||||
import java.io.FileOutputStream;
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
||||||
import org.apache.poi.util.LittleEndianConsts;
|
import org.apache.poi.util.LittleEndianConsts;
|
||||||
@ -77,9 +76,9 @@ public class HwmfBitmap16 {
|
|||||||
byte buf[] = new byte[bytes];
|
byte buf[] = new byte[bytes];
|
||||||
leis.read(buf);
|
leis.read(buf);
|
||||||
|
|
||||||
FileOutputStream fos = new FileOutputStream("bla16.bmp");
|
// FileOutputStream fos = new FileOutputStream("bla16.bmp");
|
||||||
fos.write(buf);
|
// fos.write(buf);
|
||||||
fos.close();
|
// fos.close();
|
||||||
|
|
||||||
|
|
||||||
// BufferedImage bi = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);
|
// BufferedImage bi = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
package org.apache.poi.hwmf.usermodel;
|
package org.apache.poi.hwmf.usermodel;
|
||||||
|
|
||||||
import java.io.BufferedInputStream;
|
import java.io.BufferedInputStream;
|
||||||
import java.io.FileOutputStream;
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.InputStream;
|
import java.io.InputStream;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
@ -71,12 +70,12 @@ public class HwmfPicture {
|
|||||||
int remainingSize = (int)(recordSize - consumedSize);
|
int remainingSize = (int)(recordSize - consumedSize);
|
||||||
assert(remainingSize >= 0);
|
assert(remainingSize >= 0);
|
||||||
if (remainingSize > 0) {
|
if (remainingSize > 0) {
|
||||||
byte remaining[] = new byte[remainingSize];
|
// byte remaining[] = new byte[remainingSize];
|
||||||
leis.read(remaining);
|
// leis.read(remaining);
|
||||||
FileOutputStream fos = new FileOutputStream("remaining.dat");
|
// FileOutputStream fos = new FileOutputStream("remaining.dat");
|
||||||
fos.write(remaining);
|
// fos.write(remaining);
|
||||||
fos.close();
|
// fos.close();
|
||||||
// leis.skip(remainingSize);
|
leis.skip(remainingSize);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user