summaryrefslogtreecommitdiff
path: root/reportbuilder
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-05-03 09:59:08 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-05-03 12:33:33 +0200
commited33d1d4928dc9886eaace62d3c62ea4305efdac (patch)
treeb34432f348cca9a99ca4b3849c6354d0d3eb761c /reportbuilder
parentff673ce838a5538b1432daf9007c047f6455a5ba (diff)
clean up some Java warnings
Change-Id: Id54e8fd6803c3a6c0d924338d1781679ed0b1bfd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115025 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'reportbuilder')
-rw-r--r--reportbuilder/java/org/libreoffice/report/pentaho/SOReportJobFactory.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/SOReportJobFactory.java b/reportbuilder/java/org/libreoffice/report/pentaho/SOReportJobFactory.java
index 3c52473e3d3c..322c2ac1ccfa 100644
--- a/reportbuilder/java/org/libreoffice/report/pentaho/SOReportJobFactory.java
+++ b/reportbuilder/java/org/libreoffice/report/pentaho/SOReportJobFactory.java
@@ -205,7 +205,7 @@ public class SOReportJobFactory
{
if (exception instanceof ReportDataFactoryException == false)
return;
- exception = ((ReportDataFactoryException)exception).getParent();
+ exception = ((ReportDataFactoryException)exception).getCause();
if (exception instanceof DataSourceException == false)
return;
exception = ((DataSourceException)exception).getCause();