diff options
Diffstat (limited to 'qadevOOo')
-rw-r--r-- | qadevOOo/tests/java/ifc/beans/_XTolerantMultiPropertySet.java | 13 |
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 +} |