diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-10-22 09:32:12 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-10-22 16:45:08 +0100 |
commit | b8562697c971922ee57099817297d6ad3713f9f9 (patch) | |
tree | b4293cd8486c2e735829535529928b1295077815 | |
parent | 3af09eae62595a6c0895e7410f7be51f347a802a (diff) |
coverity#1326382 Dereference null return value
Change-Id: I1c427c3d6cae2cf1798adcc29cd6f5f51eb2b49e
-rw-r--r-- | wizards/com/sun/star/wizards/form/StyleApplier.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/wizards/com/sun/star/wizards/form/StyleApplier.java b/wizards/com/sun/star/wizards/form/StyleApplier.java index eda18d38f6f0..3f20fd818965 100644 --- a/wizards/com/sun/star/wizards/form/StyleApplier.java +++ b/wizards/com/sun/star/wizards/form/StyleApplier.java @@ -409,6 +409,9 @@ public class StyleApplier for (int i = 0; i < 2; i++) { XPropertySet xPropertySet = oTimeStampControl.getControlofGroupShapeByIndex(i); + if (xPropertySet == null) { + continue; + } setDBControlColors(xPropertySet, _iStyleColors); } } |