diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-12-31 09:59:56 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-12-31 09:59:56 +0100 |
commit | 63133848be96df0a22de5b51a9b8d1cb2565c28a (patch) | |
tree | d2705619fdcd72e416f8c1ca035a30d29159c66c /qadevOOo | |
parent | ea860d52ade14b4a16289c81a0f8586799c6617f (diff) |
Dispose XWindow when done
Change-Id: Ia71b4f1c9963ab3aa52f05dd98e9215d69b5402e
Diffstat (limited to 'qadevOOo')
-rw-r--r-- | qadevOOo/tests/java/mod/_dbaccess/OSQLMessageDialog.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/qadevOOo/tests/java/mod/_dbaccess/OSQLMessageDialog.java b/qadevOOo/tests/java/mod/_dbaccess/OSQLMessageDialog.java index 0d1d65914b48..2fe02240ccfc 100644 --- a/qadevOOo/tests/java/mod/_dbaccess/OSQLMessageDialog.java +++ b/qadevOOo/tests/java/mod/_dbaccess/OSQLMessageDialog.java @@ -114,5 +114,14 @@ public class OSQLMessageDialog extends TestCase { return tEnv; } // finish method getTestEnvironment + @Override public void disposeTestEnvironment( + TestEnvironment tEnv, TestParameters tParam) + { + UnoRuntime.queryInterface( + com.sun.star.lang.XComponent.class, + (com.sun.star.awt.XWindow) tEnv.getObjRelation("ERR_XWindow")) + .dispose(); + super.disposeTestEnvironment(tEnv, tParam); + } } // finish class OSQLMessageDialog |