diff options
author | Noel Grandin <noel@peralex.com> | 2014-12-19 16:00:53 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-01-12 08:36:17 +0200 |
commit | 4bf4e3d40778051f1f886c47dd2b2bef82acf1e5 (patch) | |
tree | aba474c9bd3b06154c1c480742a237f83ca7983f /framework | |
parent | 40e48e81af597baca421630693d671130f774f57 (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 'framework')
-rw-r--r-- | framework/qa/complex/contextMenuInterceptor/CheckContextMenuInterceptor.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/framework/qa/complex/contextMenuInterceptor/CheckContextMenuInterceptor.java b/framework/qa/complex/contextMenuInterceptor/CheckContextMenuInterceptor.java index 912ae9c86e90..189a1e81cfb4 100644 --- a/framework/qa/complex/contextMenuInterceptor/CheckContextMenuInterceptor.java +++ b/framework/qa/complex/contextMenuInterceptor/CheckContextMenuInterceptor.java @@ -224,8 +224,6 @@ public class CheckContextMenuInterceptor XAccessible xRoot = null; - new AccessibilityTools(); - try { xWindow = UnoRuntime.queryInterface(XWindow.class, tk.getTopWindow(0)); @@ -288,7 +286,6 @@ public class CheckContextMenuInterceptor { System.out.println("try to open contex menu..."); - new AccessibilityTools(); xWindow = AccessibilityTools.getCurrentWindow(aModel); |