INTEGRATION: CWS qadev6 (1.1.8); FILE MERGED

2003/05/21 10:59:08 sg 1.1.8.1: #109819# prepare devide of runner
This commit is contained in:
Vladimir Glazounov
2003-05-27 13:02:22 +00:00
parent 2af4da16b8
commit dbc1cdbd05
3 changed files with 15 additions and 12 deletions

View File

@ -2,9 +2,9 @@
*
* $RCSfile: UnoControlComboBoxModel.java,v $
*
* $Revision: 1.1 $
* $Revision: 1.2 $
*
* last change:$Date: 2003-01-27 18:19:23 $
* last change:$Date: 2003-05-27 14:02:01 $
*
* 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 UnoControlComboBoxModel 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());
}
/**
@ -100,7 +101,7 @@ public class UnoControlComboBoxModel extends TestCase {
XInterface oObj = null;
try {
oObj = (XInterface) Param.getMSF().createInstance(
oObj = (XInterface) ((XMultiServiceFactory)Param.getMSF()).createInstance(
"com.sun.star.awt.UnoControlComboBoxModel");
} catch (Exception e) {