summaryrefslogtreecommitdiff
path: root/jurt/com
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-11-24 09:48:55 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-11-24 10:35:44 +0000
commitcbc5dc14d6bb795a9c2b54d624b10770a2a95a00 (patch)
treee2deb72f57eca8ba7cbfccdc90b594feb33e168a /jurt/com
parent79391ca3091f6b487687d87ca46fb0d3989d3eaf (diff)
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
Diffstat (limited to 'jurt/com')
-rw-r--r--jurt/com/sun/star/uno/AnyConverter.java2
1 files changed, 1 insertions, 1 deletions
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;
}