diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-02-16 11:40:46 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-02-16 12:28:47 +0000 |
commit | f359cbc665f34540213b7b28e8a72c755e22dbd1 (patch) | |
tree | d0555a3dc110ff1b7d19c8fb4477fba9479ff951 /wizards | |
parent | 5b5b06628be63ff80cdbfc2cb41e68ba04bf5454 (diff) |
coverity#1326398 Dereference null return value
Change-Id: I3a33d9a4b90d23c9262fcabcb252b60def4ce585
Diffstat (limited to 'wizards')
-rw-r--r-- | wizards/com/sun/star/wizards/table/ScenarioSelector.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/wizards/com/sun/star/wizards/table/ScenarioSelector.java b/wizards/com/sun/star/wizards/table/ScenarioSelector.java index f0a41de42812..61b4b748e654 100644 --- a/wizards/com/sun/star/wizards/table/ScenarioSelector.java +++ b/wizards/com/sun/star/wizards/table/ScenarioSelector.java @@ -235,7 +235,9 @@ public class ScenarioSelector extends FieldSelection implements XItemListener, X { FieldDescription curfielddescription = CurTableWizardUnoDialog.fielditems.get(fieldnames[i]); PropertyValue[] aProperties = curfielddescription.getPropertyValues(); - this.curtabledescriptor.addColumn(aProperties); + if (aProperties != null { + this.curtabledescriptor.addColumn(aProperties); + } } catch (RuntimeException e) { |