diff options
Diffstat (limited to 'qadevOOo/tests/java/mod/_sd/DrawController_PresentationView.java')
-rw-r--r-- | qadevOOo/tests/java/mod/_sd/DrawController_PresentationView.java | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/qadevOOo/tests/java/mod/_sd/DrawController_PresentationView.java b/qadevOOo/tests/java/mod/_sd/DrawController_PresentationView.java index ad4634cc7324..c86d45878656 100644 --- a/qadevOOo/tests/java/mod/_sd/DrawController_PresentationView.java +++ b/qadevOOo/tests/java/mod/_sd/DrawController_PresentationView.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -124,7 +124,7 @@ public class DrawController_PresentationView extends TestCase { * wait to allow frames to be loaded. Retrieves * the collection of the draw pages * from the first document and takes one of them. Inserts some shapes to the - * retrieved draw page. + * retrieved draw page. * Switch to the <b>DiaMode</b>. * Obtains a current controller from the first document * using the interface <code>XModel</code>. The obtained controller is the @@ -220,7 +220,7 @@ public class DrawController_PresentationView extends TestCase { } utils.shortWait(500); - + XModel aModel = (XModel) UnoRuntime.queryInterface(XModel.class, xDrawDoc); @@ -228,7 +228,7 @@ public class DrawController_PresentationView extends TestCase { log.println("bring first document to front..."); DesktopTools.bringWindowToFront(aModel); - + XModel aModel2 = (XModel) UnoRuntime.queryInterface(XModel.class, xSecondDrawDoc); @@ -262,7 +262,7 @@ public class DrawController_PresentationView extends TestCase { xShapes1.add(shape3); xShapes2.add(shape1); shortWait(); - + tEnv.addObjRelation("Selections", new Object[] { oDrawPage, oShapeCol1, oShapeCol2}); tEnv.addObjRelation("Comparer", new Comparator() { @@ -289,7 +289,7 @@ public class DrawController_PresentationView extends TestCase { tEnv.addObjRelation("FirstModel", aModel); tEnv.addObjRelation("XUserInputInterception.XModel", aModel); - + XFrame the_frame = the_Desk.getCurrentFrame(); tEnv.addObjRelation("Frame", the_frame); @@ -313,10 +313,10 @@ public class DrawController_PresentationView extends TestCase { UnoRuntime.queryInterface(XModifiable.class,xDrawDoc); tEnv.addObjRelation("Modifiable",modify); - + tEnv.addObjRelation("XComponent.DisposeThis", xDrawDoc); - + return tEnv; } // finish method getTestEnvironment |