diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-10-20 15:31:07 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-10-20 21:18:35 +0100 |
commit | 86d275366a1d8c32273d7cf347623062935ec576 (patch) | |
tree | 565d6e177afca6fbca801fe82a1938211a261fe1 | |
parent | f8ce21a346ed1ed89c8a13ea2eddafca1e851d5d (diff) |
coverity#1326553 Dereference before null check
Change-Id: I1fe2e0477f136f31b854672878d0544d9492d51b
-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 ddbd46080198..5ff3f70e0262 100644 --- a/scripting/java/com/sun/star/script/framework/container/ParcelContainer.java +++ b/scripting/java/com/sun/star/script/framework/container/ParcelContainer.java @@ -694,7 +694,7 @@ public class ParcelContainer implements XNameAccess { LogUtils.DEBUG("** parcelName = " + parsedUri.parcel); } - if (parsedUri.function != null && (parsedUri.function.length() > 0)) { + if (parsedUri.function.length() > 0) { // strip out parcel name parsedUri.function = |