diff options
author | Yegor Kozlov <yegor@apache.org> | 2010-05-30 06:56:32 +0000 |
---|---|---|
committer | Yegor Kozlov <yegor@apache.org> | 2010-05-30 06:56:32 +0000 |
commit | 8f9937a56900b6d22015e916611d9e6f7b612990 (patch) | |
tree | b55ce7139e27dd7a5c4d656ed65941b4baf4056a /src/scratchpad/testcases | |
parent | 8768fde8d889f2a2a6043e903d4f6b3b77ebd2a3 (diff) | |
download | poi-8f9937a56900b6d22015e916611d9e6f7b612990.tar.gz poi-8f9937a56900b6d22015e916611d9e6f7b612990.zip |
fixed construction of the DIB picture header, see Bugzilla 43161
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@949483 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/scratchpad/testcases')
-rw-r--r-- | src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestPictures.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestPictures.java b/src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestPictures.java index df7265be8e..9d0f92be88 100644 --- a/src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestPictures.java +++ b/src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestPictures.java @@ -252,7 +252,7 @@ public final class TestPictures extends TestCase{ SlideShow ppt = new SlideShow(); Slide slide = ppt.createSlide(); - byte[] src_bytes = slTests.readFile("sci_cec.dib"); + byte[] src_bytes = slTests.readFile("clock.dib"); int idx = ppt.addPicture(src_bytes, Picture.DIB); Picture pict = new Picture(idx); assertEquals(idx, pict.getPictureIndex()); |