diff options
Diffstat (limited to 'reportbuilder/java/com/sun/star/report/pentaho/StarFunctionDescription.java')
-rw-r--r-- | reportbuilder/java/com/sun/star/report/pentaho/StarFunctionDescription.java | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/reportbuilder/java/com/sun/star/report/pentaho/StarFunctionDescription.java b/reportbuilder/java/com/sun/star/report/pentaho/StarFunctionDescription.java index f0debc672118..cd05de5766d2 100644 --- a/reportbuilder/java/com/sun/star/report/pentaho/StarFunctionDescription.java +++ b/reportbuilder/java/com/sun/star/report/pentaho/StarFunctionDescription.java @@ -120,12 +120,26 @@ public final class StarFunctionDescription extends WeakBase public String getName() { - return functionDescription.getDisplayName(defaultLocale); + try + { + return functionDescription.getDisplayName(defaultLocale); + } + catch (Exception ex) + { + } + return "Missing function name for " + this.getClass().getName(); } public String getDescription() { - return functionDescription.getDescription(defaultLocale); + try + { + return functionDescription.getDescription(defaultLocale); + } + catch (Exception ex) + { + } + return "Missing function description for " + this.getClass().getName(); } public String getSignature() |