diff options
Diffstat (limited to 'qadevOOo/tests/java/ifc')
3 files changed, 1 insertions, 5 deletions
diff --git a/qadevOOo/tests/java/ifc/sheet/_XEnhancedMouseClickBroadcaster.java b/qadevOOo/tests/java/ifc/sheet/_XEnhancedMouseClickBroadcaster.java index 484edfdd521c..a9a5b8535e2f 100644 --- a/qadevOOo/tests/java/ifc/sheet/_XEnhancedMouseClickBroadcaster.java +++ b/qadevOOo/tests/java/ifc/sheet/_XEnhancedMouseClickBroadcaster.java @@ -75,7 +75,6 @@ public class _XEnhancedMouseClickBroadcaster extends MultiMethodTest { protected boolean clickOnSheet() { log.println("try to open contex menu..."); - new AccessibilityTools(); XWindow xWindow = AccessibilityTools.getCurrentWindow(docModel); diff --git a/qadevOOo/tests/java/ifc/sheet/_XRangeSelection.java b/qadevOOo/tests/java/ifc/sheet/_XRangeSelection.java index 7a6b8e8d61a9..053e0df20a4a 100644 --- a/qadevOOo/tests/java/ifc/sheet/_XRangeSelection.java +++ b/qadevOOo/tests/java/ifc/sheet/_XRangeSelection.java @@ -152,7 +152,7 @@ public class _XRangeSelection extends MultiMethodTest { */ protected Point getSheetCenter() { log.println("Trying to get AccessibleSpreadsheet"); - new AccessibilityTools(); + XComponent xSheetDoc = (XComponent) tEnv.getObjRelation("DOCUMENT"); XModel xModel = UnoRuntime.queryInterface(XModel.class, xSheetDoc); diff --git a/qadevOOo/tests/java/ifc/ui/_XContextMenuInterception.java b/qadevOOo/tests/java/ifc/ui/_XContextMenuInterception.java index 8399a9d25f09..06c61013f7a2 100644 --- a/qadevOOo/tests/java/ifc/ui/_XContextMenuInterception.java +++ b/qadevOOo/tests/java/ifc/ui/_XContextMenuInterception.java @@ -110,8 +110,6 @@ public class _XContextMenuInterception extends MultiMethodTest { XAccessible xRoot = null; - new AccessibilityTools(); - try { xWindow = UnoRuntime.queryInterface(XWindow.class, tk.getTopWindow(0)); @@ -156,7 +154,6 @@ public class _XContextMenuInterception extends MultiMethodTest { private void openContextMenu(XModel xModel){ log.println("try to open contex menu..."); - new AccessibilityTools(); xWindow = AccessibilityTools.getCurrentWindow(xModel); |