fix test issue

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879914 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2020-07-15 23:26:00 +00:00
parent 0bcb289365
commit dcdb03801e
1 changed files with 2 additions and 1 deletions

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));
}
/**