aboutsummaryrefslogtreecommitdiffstats
path: root/src/documentation/content/xdocs/spreadsheet/how-to.xml
diff options
context:
space:
mode:
Diffstat (limited to 'src/documentation/content/xdocs/spreadsheet/how-to.xml')
-rw-r--r--src/documentation/content/xdocs/spreadsheet/how-to.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/documentation/content/xdocs/spreadsheet/how-to.xml b/src/documentation/content/xdocs/spreadsheet/how-to.xml
index 5d70b08345..8451813f0f 100644
--- a/src/documentation/content/xdocs/spreadsheet/how-to.xml
+++ b/src/documentation/content/xdocs/spreadsheet/how-to.xml
@@ -597,7 +597,7 @@ public class ExampleEventUserModel {
// Do now, as characters() may be called more than once
if(nextIsString) {
int idx = Integer.parseInt(lastContents);
- lastContents = sst.getSharedStringAt(idx);
+ lastContents = new XSSFRichTextString(sst.getEntryAt(idx)).toString();
}
// v => contents of a cell