summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-05-27 12:08:23 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-05-27 12:08:23 +0000
commit4550cadaa914280f8c4e2063dfddc3056c17b032 (patch)
treedd27f5d2fc6718c9fd9cf0006f402d4172215633
parent5363deee9e3975abf30c3e85a4f0886d9774ba74 (diff)
INTEGRATION: CWS qadev6 (1.1.8); FILE MERGED
2003/05/21 10:56:57 sg 1.1.8.1: #109819# prepare devide of runner
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_FunctionDescriptionEnumeration.java8
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_LabelRangesEnumeration.java7
2 files changed, 8 insertions, 7 deletions
diff --git a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_FunctionDescriptionEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_FunctionDescriptionEnumeration.java
index e8e44f84b982..7450ee539332 100644
--- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_FunctionDescriptionEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_FunctionDescriptionEnumeration.java
@@ -2,9 +2,9 @@
*
* $RCSfile: ScIndexEnumeration_FunctionDescriptionEnumeration.java,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change:$Date: 2003-01-27 18:16:25 $
+ * last change:$Date: 2003-05-27 13:08:13 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -81,7 +81,7 @@ public class ScIndexEnumeration_FunctionDescriptionEnumeration 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" );
@@ -114,7 +114,7 @@ public class ScIndexEnumeration_FunctionDescriptionEnumeration extends TestCase
log.println("Getting test object ") ;
- XMultiServiceFactory oDocMSF = Param.getMSF();
+ XMultiServiceFactory oDocMSF = (XMultiServiceFactory)Param.getMSF();
try {
oObj = (XInterface)oDocMSF.createInstance(
"com.sun.star.sheet.FunctionDescriptions");
diff --git a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_LabelRangesEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_LabelRangesEnumeration.java
index 4d849b6ff0e3..23ea1bc8c6f8 100644
--- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_LabelRangesEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_LabelRangesEnumeration.java
@@ -2,9 +2,9 @@
*
* $RCSfile: ScIndexEnumeration_LabelRangesEnumeration.java,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change:$Date: 2003-01-27 18:16:25 $
+ * last change:$Date: 2003-05-27 13:08:23 $
*
* 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.XEnumerationAccess;
+import com.sun.star.lang.XMultiServiceFactory;
import com.sun.star.beans.XPropertySet;
import com.sun.star.lang.XComponent;
import com.sun.star.sheet.XLabelRanges;
@@ -84,7 +85,7 @@ public class ScIndexEnumeration_LabelRangesEnumeration 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 a sheetdocument" );