From 317a6230134a1bafb59473530d3cd739e738451b Mon Sep 17 00:00:00 2001 From: Vladimir Glazounov Date: Tue, 27 May 2003 13:15:20 +0000 Subject: INTEGRATION: CWS qadev6 (1.1.8); FILE MERGED 2003/05/21 10:59:52 sg 1.1.8.1: #109819# prepare devide of runner --- qadevOOo/tests/java/mod/_xmloff/Impress/XMLStylesExporter.java | 10 +++++----- qadevOOo/tests/java/mod/_xmloff/Impress/XMLStylesImporter.java | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'qadevOOo/tests/java/mod/_xmloff/Impress') diff --git a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLStylesExporter.java b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLStylesExporter.java index d91689695142..396d4fb641ba 100644 --- a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLStylesExporter.java +++ b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLStylesExporter.java @@ -2,9 +2,9 @@ * * $RCSfile: XMLStylesExporter.java,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change:$Date: 2003-01-27 18:20:05 $ + * last change:$Date: 2003-05-27 14:15:10 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -114,7 +114,7 @@ public class XMLStylesExporter extends TestCase { protected void initialize( TestParameters tParam, PrintWriter log ) { // get a soffice factory object - SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF()); + SOfficeFactory SOF = SOfficeFactory.getFactory( (XMultiServiceFactory)tParam.getMSF()); try { log.println( "creating an impress document" ); @@ -158,8 +158,8 @@ public class XMLStylesExporter extends TestCase { public synchronized TestEnvironment createTestEnvironment (TestParameters tParam, PrintWriter log) throws StatusException { - SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() ); - XMultiServiceFactory xMSF = tParam.getMSF() ; + SOfficeFactory SOF = SOfficeFactory.getFactory( (XMultiServiceFactory)tParam.getMSF() ); + XMultiServiceFactory xMSF = (XMultiServiceFactory)tParam.getMSF() ; XInterface oObj = null; FilterChecker filter = new FilterChecker(log); Any arg = new Any(new Type(XDocumentHandler.class),filter); diff --git a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLStylesImporter.java b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLStylesImporter.java index ef2c45665bf7..a10a4d00e8ef 100644 --- a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLStylesImporter.java +++ b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLStylesImporter.java @@ -2,9 +2,9 @@ * * $RCSfile: XMLStylesImporter.java,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change:$Date: 2003-01-27 18:20:05 $ + * last change:$Date: 2003-05-27 14:15:20 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -110,7 +110,7 @@ public class XMLStylesImporter extends TestCase { protected void initialize( TestParameters tParam, PrintWriter log ) { // get a soffice factory object - SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF()); + SOfficeFactory SOF = SOfficeFactory.getFactory( (XMultiServiceFactory)tParam.getMSF()); try { log.println( "creating an impress document" ); @@ -160,7 +160,7 @@ public class XMLStylesImporter extends TestCase { // first we write what we are intend to do to log file log.println( "creating a test environment" ); - XMultiServiceFactory xMSF = tParam.getMSF() ; + XMultiServiceFactory xMSF = (XMultiServiceFactory)tParam.getMSF() ; try { oInt = xMSF.createInstance -- cgit