diff options
Diffstat (limited to 'framework/qa/complex/XUserInputInterception/EventTest.java')
-rw-r--r-- | framework/qa/complex/XUserInputInterception/EventTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/qa/complex/XUserInputInterception/EventTest.java b/framework/qa/complex/XUserInputInterception/EventTest.java index f6a24cc15520..debd3ee6012c 100644 --- a/framework/qa/complex/XUserInputInterception/EventTest.java +++ b/framework/qa/complex/XUserInputInterception/EventTest.java @@ -517,15 +517,15 @@ public class EventTest { try{ // get the position and the range of a scroll bar - XWindow xWindow = at.getCurrentWindow( + XWindow xWindow = AccessibilityTools.getCurrentWindow( getMSF(), xModel); - XAccessible xRoot = at.getAccessibleObject(xWindow); + XAccessible xRoot = AccessibilityTools.getAccessibleObject(xWindow); - XAccessibleContext xPanel = at.getAccessibleObjectForRole(xRoot, AccessibleRole.PANEL); + XAccessibleContext xPanel = AccessibilityTools.getAccessibleObjectForRole(xRoot, AccessibleRole.PANEL); XAccessibleComponent xPanelCont = UnoRuntime.queryInterface(XAccessibleComponent.class, xPanel); // the position of the panel |