diff options
Diffstat (limited to 'qadevOOo/tests/java/ifc/beans/_XTolerantMultiPropertySet.java')
-rw-r--r-- | qadevOOo/tests/java/ifc/beans/_XTolerantMultiPropertySet.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/qadevOOo/tests/java/ifc/beans/_XTolerantMultiPropertySet.java b/qadevOOo/tests/java/ifc/beans/_XTolerantMultiPropertySet.java index 8b5bb5c0b4c8..3f08e3e6a9a8 100644 --- a/qadevOOo/tests/java/ifc/beans/_XTolerantMultiPropertySet.java +++ b/qadevOOo/tests/java/ifc/beans/_XTolerantMultiPropertySet.java @@ -237,9 +237,8 @@ public class _XTolerantMultiPropertySet extends MultiMethodTest { try { PropertyState state = pState.getPropertyState(pName); - if (state.equals(PropertyState.DIRECT_VALUE)) { - if (isUsable(pName)) direct.add(pName); - } + if (state.equals(PropertyState.DIRECT_VALUE) && isUsable(pName)) + direct.add(pName); } catch (com.sun.star.beans.UnknownPropertyException e) { log.println("Property '" + pName + "'"); } |