From cbc5dc14d6bb795a9c2b54d624b10770a2a95a00 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 24 Nov 2015 09:48:55 +0000 Subject: coverity#1326190 Explicit null dereferenced set this back to its original code pre.. commit e5bc8b60ecfca09a2014ab7090659f3428c8efa0 Date: Tue Aug 5 12:18:20 2014 +0200 to silence coverity about it Change-Id: I9d8f1bda1a32fbf97c0bdc73edfeab9f74d6443a cids: 1326180<->1326190 --- jurt/com/sun/star/uno/AnyConverter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jurt/com') diff --git a/jurt/com/sun/star/uno/AnyConverter.java b/jurt/com/sun/star/uno/AnyConverter.java index f0d13400930d..61c8c7e95180 100644 --- a/jurt/com/sun/star/uno/AnyConverter.java +++ b/jurt/com/sun/star/uno/AnyConverter.java @@ -621,7 +621,7 @@ public class AnyConverter break; case TypeClass.ENUM_value: if (tc == TypeClass.ENUM_value && - (destType.equals( type ) /* optional destType */)) + (null == destTClass || destType.equals( type ) /* optional destType */)) { return object; } -- cgit