]> source.dussan.org Git - poi.git/commitdiff
Fix bug #51681 - doc example bug
authorNick Burch <nick@apache.org>
Thu, 6 Oct 2011 23:14:09 +0000 (23:14 +0000)
committerNick Burch <nick@apache.org>
Thu, 6 Oct 2011 23:14:09 +0000 (23:14 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1179895 13f79535-47bb-0310-9956-ffa450edef68

src/documentation/content/xdocs/spreadsheet/how-to.xml

index b6f2e1b7dee4be6d05d08770c58fb90e7c6e4328..3f423d9fc368d6f612e61e2e3341ea32d8f909d0 100644 (file)
@@ -600,6 +600,7 @@ public class ExampleEventUserModel {
                        if(nextIsString) {
                                int idx = Integer.parseInt(lastContents);
                                lastContents = new XSSFRichTextString(sst.getEntryAt(idx)).toString();
+            nextIsString = false;
                        }
 
                        // v => contents of a cell