]> source.dussan.org Git - poi.git/commitdiff
Fixed an issue with it not compiling.
authorShawn Laubach <slaubach@apache.org>
Sun, 22 Jan 2006 21:16:27 +0000 (21:16 +0000)
committerShawn Laubach <slaubach@apache.org>
Sun, 22 Jan 2006 21:16:27 +0000 (21:16 +0000)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@371390 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/poi/hssf/record/formula/ArrayPtg.java

index 568b3a3cb42bb0b027778cf1bed8ff2946f840c5..c7ab2d5f225833e882585300486827fd61c9bdce 100644 (file)
@@ -90,7 +90,7 @@ public class ArrayPtg extends Ptg
                for (int y=0;y<token_2_rows;y++) {
                        byte grbit = in.readByte();
                        if (grbit == 0x01) {
-                               token_3_arrayValues[x][y] = Double.valueOf(in.readDouble());
+                           token_3_arrayValues[x][y] = new Double(in.readDouble());
                        } else if (grbit == 0x02) {
                                //Ignore the doco, it is actually a unicode string with all the
                                //trimmings ie 16 bit size, option byte etc