]> source.dussan.org Git - poi.git/commitdiff
WMF - remove test output
authorAndreas Beeker <kiwiwings@apache.org>
Tue, 29 Dec 2015 23:53:52 +0000 (23:53 +0000)
committerAndreas Beeker <kiwiwings@apache.org>
Tue, 29 Dec 2015 23:53:52 +0000 (23:53 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722249 13f79535-47bb-0310-9956-ffa450edef68

src/scratchpad/src/org/apache/poi/hwmf/record/HwmfBitmap16.java
src/scratchpad/src/org/apache/poi/hwmf/usermodel/HwmfPicture.java

index 15495de012325d1f84f70ca97ceb7e60fa058a16..c0293b4336ec8c2f96d96e38472a576297142978 100644 (file)
@@ -18,7 +18,6 @@
 package org.apache.poi.hwmf.record;\r
 \r
 import java.awt.image.BufferedImage;\r
-import java.io.FileOutputStream;\r
 import java.io.IOException;\r
 \r
 import org.apache.poi.util.LittleEndianConsts;\r
@@ -77,9 +76,9 @@ public class HwmfBitmap16 {
         byte buf[] = new byte[bytes];\r
         leis.read(buf);\r
         \r
-        FileOutputStream fos = new FileOutputStream("bla16.bmp");\r
-        fos.write(buf);\r
-        fos.close();\r
+//        FileOutputStream fos = new FileOutputStream("bla16.bmp");\r
+//        fos.write(buf);\r
+//        fos.close();\r
         \r
         \r
 //        BufferedImage bi = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);\r
index 5abf2a66aafec2ff7ed3d8fda9f5d2693db23ae6..3ebd23bf304d797cafa340842cfc8a309ac1b7bc 100644 (file)
@@ -18,7 +18,6 @@
 package org.apache.poi.hwmf.usermodel;\r
 \r
 import java.io.BufferedInputStream;\r
-import java.io.FileOutputStream;\r
 import java.io.IOException;\r
 import java.io.InputStream;\r
 import java.util.ArrayList;\r
@@ -71,12 +70,12 @@ public class HwmfPicture {
             int remainingSize = (int)(recordSize - consumedSize);\r
             assert(remainingSize >= 0);\r
             if (remainingSize > 0) {\r
-                byte remaining[] = new byte[remainingSize];\r
-                leis.read(remaining);\r
-                FileOutputStream fos = new FileOutputStream("remaining.dat");\r
-                fos.write(remaining);\r
-                fos.close();\r
-//                 leis.skip(remainingSize);\r
+//                byte remaining[] = new byte[remainingSize];\r
+//                leis.read(remaining);\r
+//                FileOutputStream fos = new FileOutputStream("remaining.dat");\r
+//                fos.write(remaining);\r
+//                fos.close();\r
+                 leis.skip(remainingSize);\r
             }\r
         }\r
     }\r