diff options
author | Noel Grandin <noel@peralex.com> | 2013-04-26 08:36:04 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-04-26 08:36:04 +0200 |
commit | 6f17a2f66fa2a4fec56334783410005c4f2f357a (patch) | |
tree | 728696d0f0603783e8d50b9c4c7b43f3016d51ce /sw | |
parent | 6d4c1f0d4a623bf7f3b3a0af2ece5c969d5aec77 (diff) |
Java cleanup, access static methods using correct syntax
Change-Id: I8443aef43d82de33ac7cb47d40cc5b544f7c9c87
Diffstat (limited to 'sw')
-rw-r--r-- | sw/qa/complex/accessibility/AccessibleRelationSet.java | 6 | ||||
-rw-r--r-- | sw/qa/complex/indeterminateState/CheckIndeterminateState.java | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sw/qa/complex/accessibility/AccessibleRelationSet.java b/sw/qa/complex/accessibility/AccessibleRelationSet.java index 1e649784a7fa..d28470f0ff36 100644 --- a/sw/qa/complex/accessibility/AccessibleRelationSet.java +++ b/sw/qa/complex/accessibility/AccessibleRelationSet.java @@ -171,10 +171,10 @@ public class AccessibleRelationSet { AccessibilityTools at = new AccessibilityTools(); - XWindow xWindow = at.getCurrentWindow(factory, aModel); - XAccessible xRoot = at.getAccessibleObject(xWindow); + XWindow xWindow = AccessibilityTools.getCurrentWindow(factory, aModel); + XAccessible xRoot = AccessibilityTools.getAccessibleObject(xWindow); - XAccessibleContext ctx = at.getAccessibleObjectForRole(xRoot, AccessibleRole.DOCUMENT); + XAccessibleContext ctx = AccessibilityTools.getAccessibleObjectForRole(xRoot, AccessibleRole.DOCUMENT); para1 = ctx.getAccessibleChild(0); para2 = ctx.getAccessibleChild(1); diff --git a/sw/qa/complex/indeterminateState/CheckIndeterminateState.java b/sw/qa/complex/indeterminateState/CheckIndeterminateState.java index 68f1d0a232ab..c76c1364b607 100644 --- a/sw/qa/complex/indeterminateState/CheckIndeterminateState.java +++ b/sw/qa/complex/indeterminateState/CheckIndeterminateState.java @@ -70,10 +70,10 @@ public class CheckIndeterminateState { XInterface oObj = null; AccessibilityTools at = new AccessibilityTools(); - XWindow xWindow = at.getCurrentContainerWindow(getFactory(), aModel); - XAccessible xRoot = at.getAccessibleObject(xWindow); + XWindow xWindow = AccessibilityTools.getCurrentContainerWindow(getFactory(), aModel); + XAccessible xRoot = AccessibilityTools.getAccessibleObject(xWindow); - oObj = at.getAccessibleObjectForRole(xRoot, + oObj = AccessibilityTools.getAccessibleObjectForRole(xRoot, AccessibleRole.TOGGLE_BUTTON, "Bold"); assertNotNull("Found a TOGGLE_BUTTON", oObj); |