diff options
Diffstat (limited to 'src/java/org/apache/poi/hssf/dev/FormulaViewer.java')
-rw-r--r-- | src/java/org/apache/poi/hssf/dev/FormulaViewer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/poi/hssf/dev/FormulaViewer.java b/src/java/org/apache/poi/hssf/dev/FormulaViewer.java index 8fce8d2e9e..3c012dd47d 100644 --- a/src/java/org/apache/poi/hssf/dev/FormulaViewer.java +++ b/src/java/org/apache/poi/hssf/dev/FormulaViewer.java @@ -98,7 +98,7 @@ public class FormulaViewer StringBuffer buf = new StringBuffer(); if (token instanceof ExpPtg) return; - buf.append(((OperationPtg) token).toFormulaString()); + buf.append(token.toFormulaString()); buf.append(sep); switch (token.getPtgClass()) { case Ptg.CLASS_REF : |