summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod/_toolkit/AccessibleListBox.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/mod/_toolkit/AccessibleListBox.java')
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/AccessibleListBox.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/qadevOOo/tests/java/mod/_toolkit/AccessibleListBox.java b/qadevOOo/tests/java/mod/_toolkit/AccessibleListBox.java
index 142a42a238f6..51567c2d441b 100644
--- a/qadevOOo/tests/java/mod/_toolkit/AccessibleListBox.java
+++ b/qadevOOo/tests/java/mod/_toolkit/AccessibleListBox.java
@@ -90,7 +90,7 @@ public class AccessibleListBox extends TestCase {
XInterface oObj = null;
try {
- oObj = (XInterface) ((XMultiServiceFactory) Param.getMSF()).createInstance(
+ oObj = (XInterface) Param.getMSF().createInstance(
"com.sun.star.awt.Toolkit");
} catch (com.sun.star.uno.Exception e) {
log.println("Couldn't get toolkit");
@@ -115,7 +115,7 @@ public class AccessibleListBox extends TestCase {
XURLTransformer urlTransf = null;
try {
- XInterface transf = (XInterface) ((XMultiServiceFactory) Param.getMSF()).createInstance(
+ XInterface transf = (XInterface) Param.getMSF().createInstance(
"com.sun.star.util.URLTransformer");
urlTransf = UnoRuntime.queryInterface(
XURLTransformer.class, transf);
@@ -219,7 +219,7 @@ public class AccessibleListBox extends TestCase {
protected void initialize(TestParameters Param, PrintWriter log) {
try {
SOfficeFactory SOF = SOfficeFactory.getFactory(
- (XMultiServiceFactory) Param.getMSF());
+ Param.getMSF());
xTextDoc = SOF.createTextDoc(null);
} catch (com.sun.star.uno.Exception e) {
throw new StatusException("Can't create document", e);