View | Details | Raw Unified | Return to bug 21673
Collapse All | Expand All

(-)jakarta-poi-original/src/java/org/apache/poi/hssf/model/FormulaParser.java (-1 / +3 lines)
Lines 891-897 Link Here
891
     */
891
     */
892
    public String toString() {
892
    public String toString() {
893
        SheetReferences refs = null;
893
        SheetReferences refs = null;
894
        if (book!=null)  book.getSheetReferences();
894
        if (book!=null)  {
895
            refs = book.getSheetReferences();
896
        }
895
        StringBuffer buf = new StringBuffer();
897
        StringBuffer buf = new StringBuffer();
896
           for (int i=0;i<tokens.size();i++) {
898
           for (int i=0;i<tokens.size();i++) {
897
            buf.append( ( (Ptg)tokens.get(i)).toFormulaString(refs));
899
            buf.append( ( (Ptg)tokens.get(i)).toFormulaString(refs));

Return to bug 21673