Dispose XWindow when done

Change-Id: Ia71b4f1c9963ab3aa52f05dd98e9215d69b5402e
This commit is contained in:
Stephan Bergmann 2016-12-31 09:59:56 +01:00
parent ea860d52ad
commit 63133848be

View File

@ -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