diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2003-05-27 11:59:32 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2003-05-27 11:59:32 +0000 |
commit | a7185b48d18f50cf648b53e479a9664360eac922 (patch) | |
tree | 3606415d012dce1dcd98375baaf7660620b98031 /qadevOOo/tests/java/mod/_sc/ScAccessiblePageHeaderArea.java | |
parent | 1798a85cd6fb31c500dc0d789186852b8f9f043c (diff) |
INTEGRATION: CWS qadev6 (1.3.2); FILE MERGED
2003/05/21 10:56:39 sg 1.3.2.1: #109819# prepare devide of runner
Diffstat (limited to 'qadevOOo/tests/java/mod/_sc/ScAccessiblePageHeaderArea.java')
-rw-r--r-- | qadevOOo/tests/java/mod/_sc/ScAccessiblePageHeaderArea.java | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/qadevOOo/tests/java/mod/_sc/ScAccessiblePageHeaderArea.java b/qadevOOo/tests/java/mod/_sc/ScAccessiblePageHeaderArea.java index 35ac574eab4d..8c2341222d49 100644 --- a/qadevOOo/tests/java/mod/_sc/ScAccessiblePageHeaderArea.java +++ b/qadevOOo/tests/java/mod/_sc/ScAccessiblePageHeaderArea.java @@ -2,9 +2,9 @@ * * $RCSfile: ScAccessiblePageHeaderArea.java,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Date: 2003-04-28 12:25:26 $ + * last change: $Date: 2003-05-27 12:59:21 $ * * 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.awt.XWindow; +import com.sun.star.lang.XMultiServiceFactory; import com.sun.star.container.XIndexAccess; import com.sun.star.frame.XController; import com.sun.star.frame.XDispatch; @@ -173,7 +174,7 @@ public class ScAccessiblePageHeaderArea extends TestCase { UnoRuntime.queryInterface(XDispatchProvider.class, xController); XURLTransformer xParser = (com.sun.star.util.XURLTransformer) UnoRuntime.queryInterface(XURLTransformer.class, - Param.getMSF().createInstance("com.sun.star.util.URLTransformer")); + ((XMultiServiceFactory)Param.getMSF()).createInstance("com.sun.star.util.URLTransformer")); // Because it's an in/out parameter we must use an array of URL objects. URL[] aParseURL = new URL[1]; aParseURL[0] = new URL(); @@ -194,7 +195,7 @@ public class ScAccessiblePageHeaderArea extends TestCase { AccessibilityTools at = new AccessibilityTools(); - XWindow xWindow = at.getCurrentWindow(Param.getMSF(), aModel); + XWindow xWindow = at.getCurrentWindow((XMultiServiceFactory)Param.getMSF(), aModel); XAccessible xRoot = at.getAccessibleObject(xWindow); try { @@ -292,7 +293,7 @@ public class ScAccessiblePageHeaderArea extends TestCase { */ protected void initialize(TestParameters Param, PrintWriter log) { // get a soffice factory object - SOfficeFactory SOF = SOfficeFactory.getFactory( Param.getMSF()); + SOfficeFactory SOF = SOfficeFactory.getFactory( (XMultiServiceFactory)Param.getMSF()); try { log.println("creating a spreadsheetdocument"); @@ -302,4 +303,4 @@ public class ScAccessiblePageHeaderArea extends TestCase { throw new StatusException( "Couldn't create document ", e ); } } -}
\ No newline at end of file +} |