Browse Source

fix test issue

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879914 13f79535-47bb-0310-9956-ffa450edef68
tags/before_ooxml_3rd_edition
PJ Fanning 3 years ago
parent
commit
dcdb03801e

+ 2
- 1
src/ooxml/java/org/apache/poi/xssf/binary/XSSFBSharedStringsTable.java View File

@@ -28,6 +28,7 @@ import org.apache.poi.ss.usermodel.RichTextString;
import org.apache.poi.util.Internal;
import org.apache.poi.util.LittleEndian;
import org.apache.poi.xssf.model.SharedStrings;
import org.apache.poi.xssf.usermodel.XSSFRichTextString;
import org.xml.sax.SAXException;

/**
@@ -86,7 +87,7 @@ public class XSSFBSharedStringsTable implements SharedStrings {

@Override
public RichTextString getItemAt(int idx) {
return getItemAt(idx);
return new XSSFRichTextString(strings.get(idx));
}

/**

Loading…
Cancel
Save