summaryrefslogtreecommitdiffstats
path: root/qadevOOo/tests/java/mod/_toolkit/UnoControlComboBox.java
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2004-01-05 19:44:50 +0000
committerOliver Bolte <obo@openoffice.org>2004-01-05 19:44:50 +0000
commitcaded445ba4d6b34296491ea83da1f7445541edf (patch)
tree00684eb440ea6ce9c3914ab7d66493cf27cd5f73 /qadevOOo/tests/java/mod/_toolkit/UnoControlComboBox.java
parentINTEGRATION: CWS qadev15 (1.3.18); FILE MERGED (diff)
downloadcore-caded445ba4d6b34296491ea83da1f7445541edf.tar.gz
core-caded445ba4d6b34296491ea83da1f7445541edf.zip
INTEGRATION: CWS qadev15 (1.3.18); FILE MERGED
2003/12/18 17:20:22 sw 1.3.18.1: #114449#
Diffstat (limited to 'qadevOOo/tests/java/mod/_toolkit/UnoControlComboBox.java')
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/UnoControlComboBox.java14
1 files changed, 3 insertions, 11 deletions
diff --git a/qadevOOo/tests/java/mod/_toolkit/UnoControlComboBox.java b/qadevOOo/tests/java/mod/_toolkit/UnoControlComboBox.java
index 60e1da730f88..da3155bf40e2 100644
--- a/qadevOOo/tests/java/mod/_toolkit/UnoControlComboBox.java
+++ b/qadevOOo/tests/java/mod/_toolkit/UnoControlComboBox.java
@@ -2,9 +2,9 @@
*
* $RCSfile: UnoControlComboBox.java,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change:$Date: 2003-09-08 13:04:17 $
+ * last change:$Date: 2004-01-05 20:44:50 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -108,15 +108,7 @@ public class UnoControlComboBox extends TestCase {
protected void cleanup(TestParameters tParam, PrintWriter log) {
log.println(" disposing xTextDoc ");
- try {
- XCloseable closer = (XCloseable) UnoRuntime.queryInterface(
- XCloseable.class, xTextDoc);
- closer.close(true);
- } catch (com.sun.star.util.CloseVetoException e) {
- log.println("couldn't close document");
- } catch (com.sun.star.lang.DisposedException e) {
- log.println("couldn't close document");
- }
+util.DesktopTools.closeDoc(xTextDoc);
}
protected TestEnvironment createTestEnvironment(TestParameters Param,