summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod/_svx/AccessibleShape.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/mod/_svx/AccessibleShape.java')
-rw-r--r--qadevOOo/tests/java/mod/_svx/AccessibleShape.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/qadevOOo/tests/java/mod/_svx/AccessibleShape.java b/qadevOOo/tests/java/mod/_svx/AccessibleShape.java
index 3af68fb0bcd2..85c243c91de5 100644
--- a/qadevOOo/tests/java/mod/_svx/AccessibleShape.java
+++ b/qadevOOo/tests/java/mod/_svx/AccessibleShape.java
@@ -47,7 +47,7 @@ public class AccessibleShape extends TestCase {
protected void initialize( TestParameters tParam, PrintWriter log ) {
- SOfficeFactory SOF = SOfficeFactory.getFactory( (XMultiServiceFactory)tParam.getMSF() );
+ SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF() );
try {
log.println( "creating a drawdoc" );
@@ -78,7 +78,7 @@ public class AccessibleShape extends TestCase {
// first we write what we are intend to do to log file
log.println( "creating a test environment" );
- SOfficeFactory SOF = SOfficeFactory.getFactory( (XMultiServiceFactory)tParam.getMSF());
+ SOfficeFactory SOF = SOfficeFactory.getFactory( tParam.getMSF());
final XShape oShape = SOF.createShape(xDrawDoc,
3000,4500,15000,1000,"Rectangle");
@@ -86,7 +86,7 @@ public class AccessibleShape extends TestCase {
AccessibilityTools at = new AccessibilityTools();
- XWindow xWindow = AccessibilityTools.getCurrentWindow ((XMultiServiceFactory)tParam.getMSF(),aModel);
+ XWindow xWindow = AccessibilityTools.getCurrentWindow (tParam.getMSF(),aModel);
XAccessible xRoot = AccessibilityTools.getAccessibleObject(xWindow);
AccessibilityTools.printAccessibleTree(log, xRoot, tParam.getBool(util.PropertyName.DEBUG_IS_ACTIVE));