diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-01-13 15:14:07 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-01-13 15:17:18 +0100 |
commit | 7ca657e5eeb883d2a90ef80456f48a7df6e27cba (patch) | |
tree | 0281b417df208f98a4f4547d9f55d887d43d3f3c /qadevOOo/tests/java/ifc/beans/_XPropertySet.java | |
parent | 26a967863c2dba39b6be3bd63c0d625625093eb4 (diff) |
css.form.component.{CheckBox,RadioButton} DefaultState property values
...must be in the range 0--2; avoid setting bad values from generic qadevOOo
property set tests, and throw an IllegalArgumentException if bad values do
get set.
Change-Id: Ia4a97d0fac326b3ca2ce254946dc4d418e9dd5a7
Diffstat (limited to 'qadevOOo/tests/java/ifc/beans/_XPropertySet.java')
-rw-r--r-- | qadevOOo/tests/java/ifc/beans/_XPropertySet.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qadevOOo/tests/java/ifc/beans/_XPropertySet.java b/qadevOOo/tests/java/ifc/beans/_XPropertySet.java index 630983caa9bd..76aac038c6ed 100644 --- a/qadevOOo/tests/java/ifc/beans/_XPropertySet.java +++ b/qadevOOo/tests/java/ifc/beans/_XPropertySet.java @@ -281,7 +281,7 @@ public class _XPropertySet extends MultiMethodTest { try { log.println("try to change value of property '" + propertyName + "'" ); gValue = oObj.getPropertyValue(propertyName); - sValue = ValueChanger.changePValue(gValue); + sValue = ValueChanger.changePValue(gValue, propertyName); oObj.setPropertyValue(propertyName, sValue); sValue = oObj.getPropertyValue(propertyName); } catch (com.sun.star.beans.PropertyVetoException e) { |