diff options
Diffstat (limited to 'qadevOOo/tests/java/ifc/beans/_XMultiPropertySet.java')
-rw-r--r-- | qadevOOo/tests/java/ifc/beans/_XMultiPropertySet.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/qadevOOo/tests/java/ifc/beans/_XMultiPropertySet.java b/qadevOOo/tests/java/ifc/beans/_XMultiPropertySet.java index 27948c941f9b..ab71b24327f3 100644 --- a/qadevOOo/tests/java/ifc/beans/_XMultiPropertySet.java +++ b/qadevOOo/tests/java/ifc/beans/_XMultiPropertySet.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -177,7 +177,7 @@ public class _XMultiPropertySet extends MultiMethodTest { boolean result = true ; // Creating listener oObj.addPropertiesChangeListener(testPropsNames, PClistener); - + if ((testPropsAmount==1) && (testPropsNames[0].equals("none"))) { testPropsAmount = 0; } @@ -278,15 +278,15 @@ public class _XMultiPropertySet extends MultiMethodTest { log.println("all properties are readOnly"); tRes.tested("setPropertyValues()",Status.skipped(true)); return; - } - + } + log.println("Changing all properties"); Object[] gValues = oObj.getPropertyValues(testPropsNames); for (int i=0; i<testPropsAmount;i++) { Object oldValue = gValues[i]; Object newValue = ValueChanger.changePValue(oldValue); gValues[i] = newValue; - } + } try { oObj.setPropertyValues(testPropsNames, gValues); @@ -329,7 +329,7 @@ public class _XMultiPropertySet extends MultiMethodTest { boolean isBound = ((property.Attributes & PropertyAttribute.BOUND) != 0); boolean isExcluded = exclProps.contains(name); - + //exclude UserDefined, because we can't change XNameContainer if (name.indexOf("UserDefined")>0 || name.indexOf("Device")>0) { isWritable=false; |