From 4fdf2061e683eb156a6a459b36ae7bdd99e55321 Mon Sep 17 00:00:00 2001 From: Yegor Kozlov Date: Thu, 17 Apr 2008 15:06:01 +0000 Subject: [PATCH] added a unit test and closed bug #28774 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@649142 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/poi/hssf/data/28774.xls | Bin 0 -> 27136 bytes .../org/apache/poi/hssf/usermodel/TestBugs.java | 11 +++++++++++ 2 files changed, 11 insertions(+) create mode 100755 src/testcases/org/apache/poi/hssf/data/28774.xls diff --git a/src/testcases/org/apache/poi/hssf/data/28774.xls b/src/testcases/org/apache/poi/hssf/data/28774.xls new file mode 100755 index 0000000000000000000000000000000000000000..476f3bafe91d744e6ed9b7a73c6d529e0dc6d6a8 GIT binary patch literal 27136 zcmeHw30zLi+yC54`*yb}rQAtLB`qQNCl=dDGks@oGQj{oBh(feccCwYSmc32( zHV;Bsvt-_D?(QB@c|7m`_q?C~`+l0+oH^&3?K|Hy=bCHg%*o9g!jH2LNOgJ;`P`_6taM4N;|SJK5RMddoRz16CDA}q=rW|o5gSNX z2ggA%LLn#+d7~io@5Rc}wGaoAKoohTisa#^4wN&|2vo=%fpp<~49NP%$kO%U@fXC}ItHq?|8zfAZ-5Mb+2-X)1z7B-&EE_Ej=pcp`%Be7fbXS{ z_-+m!BQe&~^&T@>VfUewN#x|gW69t3MEzP$^h1B?2a=Og`%C|SSx$jo`Q7#KsnX3u zXHQIzeDnZvo&n^l1IU&8$Wy6w#E7I}5(-ChvO1X~H8k^D{DU`O8cH;{+oV{LAV;yGk2 z;DX_GYh^T>yxrC3lvkRqn^crx5S#Ia6wySZ0SU&)0cD}-3^yLq#zW4P!%wvm4Q(P zIVBhHF96{xuqGioBS4Fol~q+$CN2|UEFWpz7@ob#Slk`bA2l^43S7ZGL1i!`cOg6_=-5oD0?Z}?dw#9dZ zs2g71ww2g@YxX#)q$&TMV8u|O3A%@3zG*#wOfdCkg@=Q5)^GW|&Ba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