summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/ifc/form/validation/_XValidatableFormComponent.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/ifc/form/validation/_XValidatableFormComponent.java')
-rw-r--r--qadevOOo/tests/java/ifc/form/validation/_XValidatableFormComponent.java9
1 files changed, 1 insertions, 8 deletions
diff --git a/qadevOOo/tests/java/ifc/form/validation/_XValidatableFormComponent.java b/qadevOOo/tests/java/ifc/form/validation/_XValidatableFormComponent.java
index 0ac972a9cafa..1433a7a749dd 100644
--- a/qadevOOo/tests/java/ifc/form/validation/_XValidatableFormComponent.java
+++ b/qadevOOo/tests/java/ifc/form/validation/_XValidatableFormComponent.java
@@ -63,7 +63,7 @@ public class _XValidatableFormComponent extends MultiMethodTest
public void _getCurrentValue()
{
- Object cValue = oObj.getCurrentValue();
+ oObj.getCurrentValue();
tRes.tested("getCurrentValue()", true);
}
@@ -77,21 +77,17 @@ public class _XValidatableFormComponent extends MultiMethodTest
{
requiredMethod("isValid()");
- boolean res = true;
-
try
{
oObj.removeFormComponentValidityListener(listener);
}
catch (com.sun.star.lang.NullPointerException e)
{
- res = false;
e.printStackTrace();
}
listenerCalled = false;
changeAllProperties();
- res &= !listenerCalled;
tRes.tested("removeFormComponentValidityListener()", true);
}
@@ -166,9 +162,6 @@ public class _XValidatableFormComponent extends MultiMethodTest
((property.Attributes & PropertyAttribute.READONLY) == 0);
boolean isNotNull =
((property.Attributes & PropertyAttribute.MAYBEVOID) == 0);
- boolean isBound =
- ((property.Attributes & PropertyAttribute.BOUND) != 0);
-
//these have values that are interfaces we can't change
if (
name.equals("TextUserDefinedAttributes")