diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-02-18 16:26:09 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-02-18 17:21:18 +0000 |
commit | 089dae6676ef34378c3093a71db6e1dca6cffd80 (patch) | |
tree | 84dbc6efdf5e319cb7124f1fc422198ce7fcdbaf /wizards/com/sun/star | |
parent | 6727fa583164e630aeb10f39ad1f5e9f69f9b6ae (diff) |
coverity#1326445 Dereference null return value
Change-Id: Ic279b6e8c51cbb559943027f987162678a17b143
Diffstat (limited to 'wizards/com/sun/star')
-rw-r--r-- | wizards/com/sun/star/wizards/report/ReportTextDocument.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wizards/com/sun/star/wizards/report/ReportTextDocument.java b/wizards/com/sun/star/wizards/report/ReportTextDocument.java index 4fe8991c6513..f607ede1a41b 100644 --- a/wizards/com/sun/star/wizards/report/ReportTextDocument.java +++ b/wizards/com/sun/star/wizards/report/ReportTextDocument.java @@ -515,7 +515,7 @@ class ReportTextDocument extends com.sun.star.wizards.text.TextDocument implemen return oDBColumn; } } - return null; + throw new IllegalArgumentException("Searching for column " + _FieldName + " failed"); } private static FieldColumn[] removeFieldColumnByFieldName(String _FieldName, FieldColumn[] _FieldColumns) |