diff options
author | Yegor Kozlov <yegor@apache.org> | 2007-11-03 19:50:40 +0000 |
---|---|---|
committer | Yegor Kozlov <yegor@apache.org> | 2007-11-03 19:50:40 +0000 |
commit | 80c35b59fde4e1613e22cf19a9c236640f8a8700 (patch) | |
tree | c7feb5cba6d7e2b0b347290dade80c15a568ca65 /src/testcases/org/apache/poi/hssf/usermodel/TestHSSFPicture.java | |
parent | 1b4416d11645031af412b5f49a298d0dbcbe9b52 (diff) | |
download | poi-80c35b59fde4e1613e22cf19a9c236640f8a8700.tar.gz poi-80c35b59fde4e1613e22cf19a9c236640f8a8700.zip |
fixed a silly typo in the method signature. It should be HFFSPicture.getPreferredSize(), not HFFSPicture.getPrefferedSize()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@591667 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/testcases/org/apache/poi/hssf/usermodel/TestHSSFPicture.java')
-rw-r--r-- | src/testcases/org/apache/poi/hssf/usermodel/TestHSSFPicture.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFPicture.java b/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFPicture.java index 45f92647b9..25d6684c47 100644 --- a/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFPicture.java +++ b/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFPicture.java @@ -36,7 +36,7 @@ public class TestHSSFPicture extends TestCase{ int idx1 = loadPicture( "src/resources/logos/logoKarmokar4.png", wb);
HSSFPicture picture1 = p1.createPicture(new HSSFClientAnchor(), idx1);
- HSSFClientAnchor anchor1 = picture1.getPrefferedSize();
+ HSSFClientAnchor anchor1 = picture1.getPreferredSize();
//assert against what would BiffViewer print if we insert the image in xls and dump the file
assertEquals(0, anchor1.getCol1());
|