INTEGRATION: CWS qadev6 (1.1.8); FILE MERGED

2003/05/21 10:59:18 sg 1.1.8.1: #109819# prepare devide of runner
This commit is contained in:
Vladimir Glazounov
2003-05-27 13:06:57 +00:00
parent c92b4a8ca1
commit b4e6d889af
3 changed files with 13 additions and 10 deletions

View File

@ -2,9 +2,9 @@
*
* $RCSfile: UnoControlPatternFieldModel.java,v $
*
* $Revision: 1.1 $
* $Revision: 1.2 $
*
* last change:$Date: 2003-01-27 18:19:13 $
* last change:$Date: 2003-05-27 14:06:47 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@ -62,6 +62,7 @@
package mod._toolkit;
import com.sun.star.text.XTextDocument;
import com.sun.star.lang.XMultiServiceFactory;
import com.sun.star.uno.XInterface;
import java.io.PrintWriter;
import lib.StatusException;
@ -81,7 +82,7 @@ public class UnoControlPatternFieldModel extends TestCase {
protected void initialize( TestParameters tParam, PrintWriter log ) {
log.println( "creating a textdocument" );
xTextDoc = WriterTools.createTextDoc(tParam.getMSF());
xTextDoc = WriterTools.createTextDoc((XMultiServiceFactory)tParam.getMSF());
}
/**
@ -99,7 +100,7 @@ public class UnoControlPatternFieldModel extends TestCase {
XInterface oObj = null;
try {
oObj = (XInterface) Param.getMSF().createInstance(
oObj = (XInterface) ((XMultiServiceFactory)Param.getMSF()).createInstance(
"com.sun.star.awt.UnoControlPatternFieldModel");
} catch (Exception e) {