diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-10-14 17:09:46 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-10-15 11:38:52 +0100 |
commit | 8eafe90dd5adc1cf509c3461faea5781e00aee50 (patch) | |
tree | 870a4bab2bf678c4bf82a7b80c2bbc2091f8390d /wizards/com | |
parent | 0e8a40e8b8c883611b6d34e47dc6e33ba60e0f91 (diff) |
coverity#1326409 Dereference null return value
Change-Id: I960c4ad4ffe4f0e86f3d1f0fb364296f31bf9d92
Diffstat (limited to 'wizards/com')
-rw-r--r-- | wizards/com/sun/star/wizards/document/Control.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/wizards/com/sun/star/wizards/document/Control.java b/wizards/com/sun/star/wizards/document/Control.java index 448b84f7224c..1b6075577cd8 100644 --- a/wizards/com/sun/star/wizards/document/Control.java +++ b/wizards/com/sun/star/wizards/document/Control.java @@ -230,13 +230,12 @@ public class Control extends Shape { throw new IllegalArgumentException(); } - return getPeer().getPreferredSize(); } catch (Exception e) { e.printStackTrace(System.err); - return null; } + return getPeer().getPreferredSize(); } public void setPropertyValue(String _sPropertyName, Object _aPropertyValue) throws Exception |