summaryrefslogtreecommitdiff
path: root/reportbuilder
diff options
context:
space:
mode:
Diffstat (limited to 'reportbuilder')
-rw-r--r--reportbuilder/java/com/sun/star/report/pentaho/SOFormulaParser.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/reportbuilder/java/com/sun/star/report/pentaho/SOFormulaParser.java b/reportbuilder/java/com/sun/star/report/pentaho/SOFormulaParser.java
index 26a454cab9aa..1a8d02d53b64 100644
--- a/reportbuilder/java/com/sun/star/report/pentaho/SOFormulaParser.java
+++ b/reportbuilder/java/com/sun/star/report/pentaho/SOFormulaParser.java
@@ -220,7 +220,7 @@ public final class SOFormulaParser extends ComponentBase
// error occured so all token must be bad
for (int i = 0; i < tokens.size(); i++)
{
- if ( !found && images.get(i).equals(ex.currentToken.image) )
+ if ( !found && ex.currentToken != null && images.get(i).equals(ex.currentToken.image) )
found = true;
if ( found )
{