summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod/_xmloff/Chart/XMLContentExporter.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/mod/_xmloff/Chart/XMLContentExporter.java')
-rw-r--r--qadevOOo/tests/java/mod/_xmloff/Chart/XMLContentExporter.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/qadevOOo/tests/java/mod/_xmloff/Chart/XMLContentExporter.java b/qadevOOo/tests/java/mod/_xmloff/Chart/XMLContentExporter.java
index 8ec11a9360b9..6fe4765389da 100644
--- a/qadevOOo/tests/java/mod/_xmloff/Chart/XMLContentExporter.java
+++ b/qadevOOo/tests/java/mod/_xmloff/Chart/XMLContentExporter.java
@@ -91,11 +91,14 @@ public class XMLContentExporter extends TestCase {
}
/**
- * Document disposed here.
+ * Close document
*/
protected void cleanup( TestParameters tParam, PrintWriter log ) {
- log.println( " disposing xChartDoc " );
- xChartDoc.dispose();
+ if( xChartDoc!=null ) {
+ log.println( " closing xChartDoc" );
+ util.DesktopTools.closeDoc(xChartDoc);
+ xChartDoc = null;
+ }
}
/**