summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod/_xmloff/Impress
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/mod/_xmloff/Impress')
-rw-r--r--qadevOOo/tests/java/mod/_xmloff/Impress/XMLStylesExporter.java10
-rw-r--r--qadevOOo/tests/java/mod/_xmloff/Impress/XMLStylesImporter.java8
2 files changed, 9 insertions, 9 deletions
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