diff options
author | Joachim Lingner <jl@openoffice.org> | 2010-03-22 12:35:33 +0100 |
---|---|---|
committer | Joachim Lingner <jl@openoffice.org> | 2010-03-22 12:35:33 +0100 |
commit | 67c12270ab84ac474cebe3ec4169688fa3120844 (patch) | |
tree | b247dbbc182c369d0dfcb571891778360f596948 /scripting | |
parent | d8411c3281b10eeea679e84697adfcd7c51b1657 (diff) |
jl152 import 263440 from native0jl: #i77196# removing of bundled/shared extension (except python, script) works now
Diffstat (limited to 'scripting')
-rw-r--r-- | scripting/java/com/sun/star/script/framework/container/UnoPkgContainer.java | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/scripting/java/com/sun/star/script/framework/container/UnoPkgContainer.java b/scripting/java/com/sun/star/script/framework/container/UnoPkgContainer.java index 3b9e04a27210..4c6a4f1eda2b 100644 --- a/scripting/java/com/sun/star/script/framework/container/UnoPkgContainer.java +++ b/scripting/java/com/sun/star/script/framework/container/UnoPkgContainer.java @@ -44,6 +44,7 @@ import com.sun.star.io.XOutputStream; import com.sun.star.io.XTruncate; import com.sun.star.deployment.XPackage; +import com.sun.star.deployment.ExtensionRemovedException; public class UnoPkgContainer extends ParcelContainer { @@ -336,7 +337,15 @@ public class UnoPkgContainer extends ParcelContainer LogUtils.DEBUG("** processUnoPackage getURL() -> " + uri ); LogUtils.DEBUG("** processUnoPackage getName() -> " + dPackage.getName() ); LogUtils.DEBUG("** processUnoPackage getMediaType() -> " + dPackage.getPackageType().getMediaType() ); - LogUtils.DEBUG("** processUnoPackage getDisplayName() -> " + dPackage.getDisplayName() ); + try + { + LogUtils.DEBUG("** processUnoPackage getDisplayName() -> " + dPackage.getDisplayName() ); + } + catch (com.sun.star.deployment.ExtensionRemovedException e) + { + throw new com.sun.star.lang.WrappedTargetException(e.toString(), this, e); + } + processUnoPackage( uri, language ); db = getUnoPackagesDB(); |