diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-10-25 15:00:22 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-10-25 15:41:01 +0000 |
commit | d6a3c5786b836c6b776c54c949e0cf6cb081a7e5 (patch) | |
tree | b3a08ce06ddfa1873952b11d4b6b15cf8147a2b3 /scripting | |
parent | cd75c25be836c2a626f375ce3a16dfa6f164c831 (diff) |
coverity#1326446 Dereference null return value
Change-Id: I18b3e0cc30e05e9a53a0f7ae9997b9f190f192f4
Diffstat (limited to 'scripting')
-rw-r--r-- | scripting/java/com/sun/star/script/framework/container/ParcelContainer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripting/java/com/sun/star/script/framework/container/ParcelContainer.java b/scripting/java/com/sun/star/script/framework/container/ParcelContainer.java index d7dd25223bc9..febd65ad844a 100644 --- a/scripting/java/com/sun/star/script/framework/container/ParcelContainer.java +++ b/scripting/java/com/sun/star/script/framework/container/ParcelContainer.java @@ -144,7 +144,7 @@ public class ParcelContainer implements XNameAccess { } String location = - ScriptMetaData.getLocationPlaceHolder(c.containerUrl, c.getName()); + ScriptMetaData.getLocationPlaceHolder(c.containerUrl, name); if (key.equals(location)) { result = c; |