Kaydet (Commit) d385fd6c authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1326247 Explicit null dereferenced

Change-Id: I88a88f3705365854506a946039df44fb87134844
üst f0b3d214
...@@ -162,15 +162,8 @@ public class _XTolerantMultiPropertySet extends MultiMethodTest { ...@@ -162,15 +162,8 @@ public class _XTolerantMultiPropertySet extends MultiMethodTest {
public void _setPropertyValuesTolerant() { public void _setPropertyValuesTolerant() {
requiredMethod("getPropertyValuesTolerant()"); requiredMethod("getPropertyValuesTolerant()");
SetPropertyTolerantFailed[] SPTF = null; SetPropertyTolerantFailed[] SPTF = oObj.setPropertyValuesTolerant(namesOfProperties,
getNewValues(valuesOfProperties));
try {
SPTF = oObj.setPropertyValuesTolerant(namesOfProperties,
getNewValues(
valuesOfProperties));
} catch (com.sun.star.lang.IllegalArgumentException e) {
e.printStackTrace(log);
}
//read only properties will throw a PropertyVetoExeption if they are set //read only properties will throw a PropertyVetoExeption if they are set
int failures = 0; int failures = 0;
...@@ -334,4 +327,4 @@ public class _XTolerantMultiPropertySet extends MultiMethodTest { ...@@ -334,4 +327,4 @@ public class _XTolerantMultiPropertySet extends MultiMethodTest {
return newValues; return newValues;
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment