diff options
Diffstat (limited to 'reportbuilder')
-rw-r--r-- | reportbuilder/java/org/libreoffice/report/pentaho/PentahoReportJob.java | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/PentahoReportJob.java b/reportbuilder/java/org/libreoffice/report/pentaho/PentahoReportJob.java index 9e0e429b0b92..6c598556da7d 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/PentahoReportJob.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/PentahoReportJob.java @@ -220,11 +220,8 @@ public class PentahoReportJob implements ReportJob val = reportFunction.getChildValues()[0]; } } - if (val instanceof ContextLookup) - { - final ContextLookup context = (ContextLookup) val; - name = context.getName(); - } + final ContextLookup context = (ContextLookup) val; + name = context.getName(); break; } } |