Kaydet (Commit) aabe9f85 authored tarafından Vladimir Glazounov's avatar Vladimir Glazounov

INTEGRATION: CWS qadev6 (1.2.8); FILE MERGED

2003/05/21 10:57:10 sg 1.2.8.1: #109819# prepare devide of runner
üst 6a7e0602
......@@ -2,9 +2,9 @@
*
* $RCSfile: ScViewPaneObj.java,v $
*
* $Revision: 1.2 $
* $Revision: 1.3 $
*
* last change:$Date: 2003-02-04 17:17:51 $
* last change:$Date: 2003-05-27 13:15:37 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
......@@ -62,6 +62,7 @@
package mod._sc;
import com.sun.star.container.XIndexAccess;
import com.sun.star.lang.XMultiServiceFactory;
import com.sun.star.frame.XController;
import com.sun.star.frame.XModel;
import com.sun.star.lang.XComponent;
......@@ -104,7 +105,7 @@ public class ScViewPaneObj extends TestCase {
*/
public void initialize( TestParameters Param, PrintWriter log ) {
// get a soffice factory object
SOF = SOfficeFactory.getFactory( Param.getMSF());
SOF = SOfficeFactory.getFactory( (XMultiServiceFactory)Param.getMSF());
try {
log.println("creating a spreadsheetdocument");
......
......@@ -2,9 +2,9 @@
*
* $RCSfile: XMLContentExporter.java,v $
*
* $Revision: 1.2 $
* $Revision: 1.3 $
*
* last change:$Date: 2003-02-05 10:13:34 $
* last change:$Date: 2003-05-27 13:15:48 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
......@@ -116,7 +116,7 @@ public class XMLContentExporter extends TestCase {
* New spreadsheet document created.
*/
protected void initialize( TestParameters tParam, PrintWriter log ) {
SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
SOfficeFactory SOF = SOfficeFactory.getFactory( (XMultiServiceFactory)tParam.getMSF() );
try {
log.println( "creating a textdocument" );
xSheetDoc = SOF.openDoc("scalc","_blank");
......@@ -156,7 +156,7 @@ public class XMLContentExporter extends TestCase {
*/
protected synchronized TestEnvironment createTestEnvironment(TestParameters tParam, PrintWriter log) {
XMultiServiceFactory xMSF = tParam.getMSF() ;
XMultiServiceFactory xMSF = (XMultiServiceFactory)tParam.getMSF() ;
XInterface oObj = null;
final String CELL_TEXT = "XMLContentExporter";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment