From: Andreas Beeker Date: Tue, 29 Dec 2015 23:53:52 +0000 (+0000) Subject: WMF - remove test output X-Git-Tag: REL_3_14_FINAL~137 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c4238eed24449766130499dabf1721ebbbe4449e;p=poi.git WMF - remove test output git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722249 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/scratchpad/src/org/apache/poi/hwmf/record/HwmfBitmap16.java b/src/scratchpad/src/org/apache/poi/hwmf/record/HwmfBitmap16.java index 15495de012..c0293b4336 100644 --- a/src/scratchpad/src/org/apache/poi/hwmf/record/HwmfBitmap16.java +++ b/src/scratchpad/src/org/apache/poi/hwmf/record/HwmfBitmap16.java @@ -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); diff --git a/src/scratchpad/src/org/apache/poi/hwmf/usermodel/HwmfPicture.java b/src/scratchpad/src/org/apache/poi/hwmf/usermodel/HwmfPicture.java index 5abf2a66aa..3ebd23bf30 100644 --- a/src/scratchpad/src/org/apache/poi/hwmf/usermodel/HwmfPicture.java +++ b/src/scratchpad/src/org/apache/poi/hwmf/usermodel/HwmfPicture.java @@ -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); } } }