diff options
Diffstat (limited to 'vcl/qa/complex/persistent_window_states/DocumentHandle.java')
-rw-r--r-- | vcl/qa/complex/persistent_window_states/DocumentHandle.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/vcl/qa/complex/persistent_window_states/DocumentHandle.java b/vcl/qa/complex/persistent_window_states/DocumentHandle.java index 0471acb29c6e..c6ce5f3d7ad0 100644 --- a/vcl/qa/complex/persistent_window_states/DocumentHandle.java +++ b/vcl/qa/complex/persistent_window_states/DocumentHandle.java @@ -37,8 +37,7 @@ import helper.WindowListener; public class DocumentHandle { // the component loader to load a document private XComponentLoader xCompLoader = null; - // the document - private XComponent xComp = null; + // the current window private XWindow xWin = null; // a own window listener @@ -85,8 +84,7 @@ public class DocumentHandle { // load document in this frame XComponentLoader xFrameLoader = UnoRuntime.queryInterface(XComponentLoader.class, xFrame); - xComp = xFrameLoader.loadComponentFromURL( - docName, "_self", 0, szArgs); + xFrameLoader.loadComponentFromURL(docName, "_self", 0, szArgs); // wait for the document to load. try { Thread.sleep(10000); |