View | Details | Raw Unified | Return to bug 42570
Collapse All | Expand All

(-)C:/eclipse/workspace/poi1/src/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java (-2 / +4 lines)
Lines 298-305 Link Here
298
298
299
                 records.remove(k);
299
                 records.remove(k);
300
                 LabelSSTRecord newrec   = new LabelSSTRecord();
300
                 LabelSSTRecord newrec   = new LabelSSTRecord();
301
                 int            stringid =
301
                 String value = oldrec.getValue();
302
                     workbook.addSSTString(new UnicodeString(oldrec.getValue()));
302
                 if (value==null) value="";
303
                int            stringid =
304
                     workbook.addSSTString(new UnicodeString(value));
303
305
304
                 newrec.setRow(oldrec.getRow());
306
                 newrec.setRow(oldrec.getRow());
305
                 newrec.setColumn(oldrec.getColumn());
307
                 newrec.setColumn(oldrec.getColumn());

Return to bug 42570