diff options
author | Noel Grandin <noel@peralex.com> | 2014-12-17 10:43:11 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-12-19 10:41:54 +0200 |
commit | e92d3e90075573a374bfc39449c0e74f518890ba (patch) | |
tree | 300587e7a1c238289725c6e0325c43563b60954a /scripting | |
parent | xmerge: store the original exception in the cause field properly (diff) | |
download | core-e92d3e90075573a374bfc39449c0e74f518890ba.tar.gz core-e92d3e90075573a374bfc39449c0e74f518890ba.zip |
java: scripting: fix bug in removing model from map
found by PMD
Change-Id: I4bd35dd30f6c77aad96932216d8459b812004a88
Diffstat (limited to 'scripting')
-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)); } } |