diff options
-rw-r--r-- | scripting/java/com/sun/star/script/framework/io/XStorageHelper.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripting/java/com/sun/star/script/framework/io/XStorageHelper.java b/scripting/java/com/sun/star/script/framework/io/XStorageHelper.java index 0856e6deb2f8..7123ca5c8973 100644 --- a/scripting/java/com/sun/star/script/framework/io/XStorageHelper.java +++ b/scripting/java/com/sun/star/script/framework/io/XStorageHelper.java @@ -181,7 +181,7 @@ public class XStorageHelper implements XEventListener { if (model != null) { LogUtils.DEBUG(" Disposing doc " + model.getURL()); - modelMap.remove(model); + modelMap.remove(PathUtils.getOidForModel(model)); } } |