summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-05-27 12:01:35 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-05-27 12:01:35 +0000
commite0ddb87ded24dfaead105d5ed05305ea8c67948b (patch)
tree6f4e7810e7a2fb32d9919799b207bd4441a27441
parent4184a0ad205c45bfe286f4a348831b4a84805c6e (diff)
INTEGRATION: CWS qadev6 (1.2.8); FILE MERGED
2003/05/21 10:56:43 sg 1.2.8.1: #109819# prepare devide of runner
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScAutoFormatObj.java6
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScAutoFormatsObj.java9
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScCellCursorObj.java7
3 files changed, 12 insertions, 10 deletions
diff --git a/qadevOOo/tests/java/mod/_sc/ScAutoFormatObj.java b/qadevOOo/tests/java/mod/_sc/ScAutoFormatObj.java
index 29fcfa4c5929..1d5d26e13f56 100644
--- a/qadevOOo/tests/java/mod/_sc/ScAutoFormatObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScAutoFormatObj.java
@@ -2,9 +2,9 @@
*
* $RCSfile: ScAutoFormatObj.java,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change:$Date: 2003-01-31 14:37:46 $
+ * last change:$Date: 2003-05-27 13:01:13 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -115,7 +115,7 @@ public class ScAutoFormatObj extends TestCase {
PrintWriter log) {
XInterface oObj = null;
- XMultiServiceFactory oMSF = (XMultiServiceFactory)tParam.getMSF();
+ XMultiServiceFactory oMSF = (XMultiServiceFactory)(XMultiServiceFactory)tParam.getMSF();
try {
XInterface formats = (XInterface)oMSF.createInstance
("com.sun.star.sheet.TableAutoFormats");
diff --git a/qadevOOo/tests/java/mod/_sc/ScAutoFormatsObj.java b/qadevOOo/tests/java/mod/_sc/ScAutoFormatsObj.java
index 2d08be55962e..9655f09616cd 100644
--- a/qadevOOo/tests/java/mod/_sc/ScAutoFormatsObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScAutoFormatsObj.java
@@ -2,9 +2,9 @@
*
* $RCSfile: ScAutoFormatsObj.java,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change:$Date: 2003-01-31 14:44:32 $
+ * last change:$Date: 2003-05-27 13:01:24 $
*
* 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.frame.XComponentLoader;
+import com.sun.star.lang.XMultiServiceFactory;
import com.sun.star.frame.XDesktop;
import com.sun.star.lang.XComponent;
import com.sun.star.sheet.XSpreadsheetDocument;
@@ -109,7 +110,7 @@ public class ScAutoFormatsObj extends TestCase{
* Creates Spreadsheet document.
*/
protected void initialize( TestParameters tParam, PrintWriter log ) {
- SOF = SOfficeFactory.getFactory( tParam.getMSF() );
+ SOF = SOfficeFactory.getFactory( (XMultiServiceFactory)tParam.getMSF() );
try {
log.println( "creating a Spreadsheet document" );
@@ -160,7 +161,7 @@ public class ScAutoFormatsObj extends TestCase{
XComponent xComp = (XComponent)UnoRuntime.queryInterface
(XComponent.class, xSheetDoc);
oObj = (XInterface) AnyConverter.toObject(
- new Type(XInterface.class),Param.getMSF().createInstance
+ new Type(XInterface.class),((XMultiServiceFactory)Param.getMSF()).createInstance
("com.sun.star.sheet.TableAutoFormats"));
Object secondInstance = SOF.createInstance
(xComp, "com.sun.star.sheet.TableAutoFormat");
diff --git a/qadevOOo/tests/java/mod/_sc/ScCellCursorObj.java b/qadevOOo/tests/java/mod/_sc/ScCellCursorObj.java
index 7dc451a70361..31c126050486 100644
--- a/qadevOOo/tests/java/mod/_sc/ScCellCursorObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScCellCursorObj.java
@@ -2,9 +2,9 @@
*
* $RCSfile: ScCellCursorObj.java,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change:$Date: 2003-01-31 14:48:01 $
+ * last change:$Date: 2003-05-27 13:01:35 $
*
* 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.beans.XPropertySet;
+import com.sun.star.lang.XMultiServiceFactory;
import com.sun.star.lang.XComponent;
import com.sun.star.sheet.XSheetCellCursor;
import com.sun.star.sheet.XSheetCellRange;
@@ -143,7 +144,7 @@ public class ScCellCursorObj extends TestCase {
* Creates Spreadsheet document.
*/
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 Spreadsheet document" );