summaryrefslogtreecommitdiff
path: root/sw/qa
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-12-19 16:00:53 +0200
committerNoel Grandin <noel@peralex.com>2015-01-12 08:36:17 +0200
commit4bf4e3d40778051f1f886c47dd2b2bef82acf1e5 (patch)
treeaba474c9bd3b06154c1c480742a237f83ca7983f /sw/qa
parent40e48e81af597baca421630693d671130f774f57 (diff)
java: no need to instantiate the AccessibilityTools object
since all of it's methods and fields are static. Change-Id: Ia2b652969489c5a21e01a35cda65c6e84346aac0
Diffstat (limited to 'sw/qa')
-rw-r--r--sw/qa/complex/accessibility/AccessibleRelationSet.java2
-rw-r--r--sw/qa/complex/indeterminateState/CheckIndeterminateState.java1
2 files changed, 0 insertions, 3 deletions
diff --git a/sw/qa/complex/accessibility/AccessibleRelationSet.java b/sw/qa/complex/accessibility/AccessibleRelationSet.java
index 1ed6f83c26d2..f8323fce450c 100644
--- a/sw/qa/complex/accessibility/AccessibleRelationSet.java
+++ b/sw/qa/complex/accessibility/AccessibleRelationSet.java
@@ -169,8 +169,6 @@ public class AccessibleRelationSet {
XModel aModel = UnoRuntime.queryInterface(XModel.class, xTextDoc);
- new AccessibilityTools();
-
XWindow xWindow = AccessibilityTools.getCurrentWindow(aModel);
XAccessible xRoot = AccessibilityTools.getAccessibleObject(xWindow);
diff --git a/sw/qa/complex/indeterminateState/CheckIndeterminateState.java b/sw/qa/complex/indeterminateState/CheckIndeterminateState.java
index f9a45a7babd7..19104444d7de 100644
--- a/sw/qa/complex/indeterminateState/CheckIndeterminateState.java
+++ b/sw/qa/complex/indeterminateState/CheckIndeterminateState.java
@@ -69,7 +69,6 @@ public class CheckIndeterminateState {
XInterface oObj = null;
- new AccessibilityTools();
XWindow xWindow = AccessibilityTools.getCurrentContainerWindow(aModel);
XAccessible xRoot = AccessibilityTools.getAccessibleObject(xWindow);