scripting/java/com/sun/star/script/framework/provider/ScriptProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 59a63d8161b4948766c075224599ded44b01d3ce Author: Stephan Bergmann <sberg...@redhat.com> Date: Thu Feb 23 11:43:22 2017 +0100 In Java, css.uno.RuntimeException doesn't derive from css.uno.Exception Change-Id: I83850db6e3f3ac87d52e75f122ba2b6bba3905b9 diff --git a/scripting/java/com/sun/star/script/framework/provider/ScriptProvider.java b/scripting/java/com/sun/star/script/framework/provider/ScriptProvider.java index 31475a0..e48bc48 100644 --- a/scripting/java/com/sun/star/script/framework/provider/ScriptProvider.java +++ b/scripting/java/com/sun/star/script/framework/provider/ScriptProvider.java @@ -359,7 +359,7 @@ public abstract class ScriptProvider implements throw e2; } catch (com.sun.star.lang.WrappedTargetException wta) { // TODO specify the correct error Type - Exception wrapped = (Exception) wta.TargetException; + java.lang.Exception wrapped = (java.lang.Exception) wta.TargetException; String message = wta.getMessage(); if (wrapped != null) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits