diff options
Diffstat (limited to 'qadevOOo/tests/java/mod/_fwl/FilterFactory.java')
-rw-r--r-- | qadevOOo/tests/java/mod/_fwl/FilterFactory.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/qadevOOo/tests/java/mod/_fwl/FilterFactory.java b/qadevOOo/tests/java/mod/_fwl/FilterFactory.java index 0e105af4b6a1..e6b4b55cedcf 100644 --- a/qadevOOo/tests/java/mod/_fwl/FilterFactory.java +++ b/qadevOOo/tests/java/mod/_fwl/FilterFactory.java @@ -97,12 +97,11 @@ public class FilterFactory extends TestCase { // XNameContainer; XNameReplace String filterName = filterNames[0]; Object[] instance = null;; - PropertyValue instanceProp = new PropertyValue(); + new PropertyValue(); try{ instance = (Object[]) xNA.getByName(filterName); - PropertyValue[] props = (PropertyValue[]) instance; - instanceProp = getPropertyValue - (((PropertyValue[]) instance), "FilterService"); //instance[9]; + getPropertyValue + (((PropertyValue[]) instance), "FilterService"); } catch (com.sun.star.container.NoSuchElementException e){ throw new StatusException( Status.failed("Couldn't get elements from object")); |