summaryrefslogtreecommitdiff
path: root/qadevOOo/runner
diff options
context:
space:
mode:
authorsb <sb@openoffice.org>2010-02-26 17:03:57 +0100
committersb <sb@openoffice.org>2010-02-26 17:03:57 +0100
commitdd4389dc3fad63cc42e9320c855d0c69f4dee2b4 (patch)
tree2696ba54262d734913ec9a7dfe38793e666c4eeb /qadevOOo/runner
parent87b410ab0055092a24de0f950f563fa2aa33d584 (diff)
sb118: improved tests (no getActiveTopWindow etc.)
Diffstat (limited to 'qadevOOo/runner')
-rw-r--r--qadevOOo/runner/util/UITools.java20
1 files changed, 0 insertions, 20 deletions
diff --git a/qadevOOo/runner/util/UITools.java b/qadevOOo/runner/util/UITools.java
index 992458ca5..4edf4c609 100644
--- a/qadevOOo/runner/util/UITools.java
+++ b/qadevOOo/runner/util/UITools.java
@@ -673,26 +673,6 @@ public class UITools {
throw new Exception("Could not get message from Basic-MessageBox: " + e.toString());
}
}
-
-
- /**
- * fetch the active window which is on the top of the X-desktop
- * @return the active window
- * @throws java.lang.Exception if something fail
- */
- public XWindow getActiveTopWindow() throws java.lang.Exception
- {
- XInterface xToolKit = null;
- try {
- xToolKit = (XInterface) mMSF.createInstance("com.sun.star.awt.Toolkit") ;
- } catch (com.sun.star.uno.Exception e) {
- throw new Exception("Could not toolkit: " + e.toString());
- }
- XExtendedToolkit tk = (XExtendedToolkit)
- UnoRuntime.queryInterface(XExtendedToolkit.class, xToolKit);
- Object atw = tk.getActiveTopWindow();
- return (XWindow) UnoRuntime.queryInterface(XWindow.class, atw);
- }
/**
* fetch the window which is equal to the given <CODE>WindowName</CODE>