summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wizards/com/sun/star/wizards/report/ReportTextDocument.java2
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)