mirror of https://github.com/apache/poi.git
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:
parent
0bcb289365
commit
dcdb03801e
|
@ -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…
Reference in New Issue