summaryrefslogtreecommitdiff
path: root/qadevOOo
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-02-06 21:11:56 +0000
committerCaolán McNamara <caolanm@redhat.com>2016-02-06 21:11:56 +0000
commitd385fd6c96b3401df07b66743ce68a2f47b0d13f (patch)
tree603e2b7ee7854d5b3861e9714d0bcbb3692ec325 /qadevOOo
parentf0b3d214338b677cfd6a100a2aa9d92570930d3c (diff)
coverity#1326247 Explicit null dereferenced
Change-Id: I88a88f3705365854506a946039df44fb87134844
Diffstat (limited to 'qadevOOo')
-rw-r--r--qadevOOo/tests/java/ifc/beans/_XTolerantMultiPropertySet.java13
1 files changed, 3 insertions, 10 deletions
diff --git a/qadevOOo/tests/java/ifc/beans/_XTolerantMultiPropertySet.java b/qadevOOo/tests/java/ifc/beans/_XTolerantMultiPropertySet.java
index 3f08e3e6a9a8..42324fd8af13 100644
--- a/qadevOOo/tests/java/ifc/beans/_XTolerantMultiPropertySet.java
+++ b/qadevOOo/tests/java/ifc/beans/_XTolerantMultiPropertySet.java
@@ -162,15 +162,8 @@ public class _XTolerantMultiPropertySet extends MultiMethodTest {
public void _setPropertyValuesTolerant() {
requiredMethod("getPropertyValuesTolerant()");
- SetPropertyTolerantFailed[] SPTF = null;
-
- try {
- SPTF = oObj.setPropertyValuesTolerant(namesOfProperties,
- getNewValues(
- valuesOfProperties));
- } catch (com.sun.star.lang.IllegalArgumentException e) {
- e.printStackTrace(log);
- }
+ SetPropertyTolerantFailed[] SPTF = oObj.setPropertyValuesTolerant(namesOfProperties,
+ getNewValues(valuesOfProperties));
//read only properties will throw a PropertyVetoExeption if they are set
int failures = 0;
@@ -334,4 +327,4 @@ public class _XTolerantMultiPropertySet extends MultiMethodTest {
return newValues;
}
-} \ No newline at end of file
+}