diff options
author | Noel Grandin <noel@peralex.com> | 2014-11-18 13:32:37 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-11-24 20:45:17 +0000 |
commit | fe095dada4e83129d49c8cc50501aa224d61e0f9 (patch) | |
tree | d351b1938c77c2640438dfc3427fabb8092baca3 /framework/qa | |
parent | df633ac5487fd566fbf526808bb015112bd38e77 (diff) |
java,qadev: remove unused parameters and local vars
Change-Id: Ifb9f9374051fe88dc4cd5a7a28b2c8c992ced873
Reviewed-on: https://gerrit.libreoffice.org/13097
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'framework/qa')
3 files changed, 6 insertions, 6 deletions
diff --git a/framework/qa/complex/framework/recovery/KlickButtonThread.java b/framework/qa/complex/framework/recovery/KlickButtonThread.java index 0b7e2cef67b6..d2dceb439a28 100644 --- a/framework/qa/complex/framework/recovery/KlickButtonThread.java +++ b/framework/qa/complex/framework/recovery/KlickButtonThread.java @@ -40,7 +40,7 @@ public class KlickButtonThread extends Thread { @Override public void run() { try{ - UITools oUITools = new UITools(xMSF, xWindow); + UITools oUITools = new UITools(xWindow); oUITools.clickButton(buttonName); diff --git a/framework/qa/complex/framework/recovery/RecoveryTest.java b/framework/qa/complex/framework/recovery/RecoveryTest.java index b85f519078f5..746ff82a35b2 100644 --- a/framework/qa/complex/framework/recovery/RecoveryTest.java +++ b/framework/qa/complex/framework/recovery/RecoveryTest.java @@ -236,7 +236,7 @@ public class RecoveryTest extends ComplexTestCase { XWindow xWindow = UnoRuntime.queryInterface(XWindow.class, oDialog); - UITools oUITools = new UITools(xMSF, xWindow); + UITools oUITools = new UITools(xWindow); oUITools.printAccessibleTree((PrintWriter) log, param.getBool(PropertyName.DEBUG_IS_ACTIVE)); @@ -275,7 +275,7 @@ public class RecoveryTest extends ComplexTestCase { log.println(oDialog.getTitle()); - UITools oUITools = new UITools(xMSF, xWindow); + UITools oUITools = new UITools(xWindow); if (cancel) { log.println("clicking 'Cancel' button..."); @@ -328,7 +328,7 @@ public class RecoveryTest extends ComplexTestCase { XWindow xWindow = UnoRuntime.queryInterface(XWindow.class, oDialog); log.println("got the following dialog: '" +oDialog.getTitle() + "'"); - UITools oUITools = new UITools(xMSF, xWindow); + UITools oUITools = new UITools(xWindow); String listBoxName = "Status of recovered documents"; String[] documents = oUITools.getListBoxItems(listBoxName); @@ -429,7 +429,7 @@ public class RecoveryTest extends ComplexTestCase { assure("could not get 'Save Documents' Dialog: ", (oDialog != null), CONTINUE); - UITools oUITools = new UITools(xMSF, oDialog); + UITools oUITools = new UITools(oDialog); oUITools.printAccessibleTree((PrintWriter) log, param.getBool(PropertyName.DEBUG_IS_ACTIVE)); diff --git a/framework/qa/complex/framework/recovery/RecoveryTools.java b/framework/qa/complex/framework/recovery/RecoveryTools.java index 8a2b03405c96..91faec0a07e2 100644 --- a/framework/qa/complex/framework/recovery/RecoveryTools.java +++ b/framework/qa/complex/framework/recovery/RecoveryTools.java @@ -261,7 +261,7 @@ public class RecoveryTools { if (oDialog == null) throw new com.sun.star.accessibility.IllegalAccessibleComponentStateException("could not get modal Dialog"); - UITools oUITools = new UITools(xMSF, oDialog); + UITools oUITools = new UITools(oDialog); oUITools.printAccessibleTree((PrintWriter) log, param.getBool(PropertyName.DEBUG_IS_ACTIVE)); try{ |