summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScDatabaseRangesObj.java6
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScDrawPageObj.java6
2 files changed, 6 insertions, 6 deletions
diff --git a/qadevOOo/tests/java/mod/_sc/ScDatabaseRangesObj.java b/qadevOOo/tests/java/mod/_sc/ScDatabaseRangesObj.java
index 29d2a02d170b..85611a237234 100644
--- a/qadevOOo/tests/java/mod/_sc/ScDatabaseRangesObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScDatabaseRangesObj.java
@@ -2,9 +2,9 @@
*
* $RCSfile: ScDatabaseRangesObj.java,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change:$Date: 2003-09-08 12:08:45 $
+ * last change:$Date: 2004-01-05 19:00:39 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -124,7 +124,7 @@ public class ScDatabaseRangesObj extends TestCase {
log.println( " disposing xSheetDoc " );
XComponent oComp = (XComponent)
UnoRuntime.queryInterface (XComponent.class, xSheetDoc) ;
- oComp.dispose();
+ util.DesktopTools.closeDoc(oComp);
}
/**
diff --git a/qadevOOo/tests/java/mod/_sc/ScDrawPageObj.java b/qadevOOo/tests/java/mod/_sc/ScDrawPageObj.java
index c3b91c4d4413..d77b4a01b982 100644
--- a/qadevOOo/tests/java/mod/_sc/ScDrawPageObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScDrawPageObj.java
@@ -2,9 +2,9 @@
*
* $RCSfile: ScDrawPageObj.java,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change:$Date: 2003-09-08 12:08:56 $
+ * last change:$Date: 2004-01-05 19:01:18 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -112,7 +112,7 @@ public class ScDrawPageObj extends TestCase {
log.println( " disposing xSheetDoc " );
XComponent xComp = (XComponent)
UnoRuntime.queryInterface(XComponent.class, xDoc);
- xComp.dispose();
+ util.DesktopTools.closeDoc(xComp);
}