diff options
Diffstat (limited to 'qadevOOo/tests/java/mod/_sd/SdUnoPresView.java')
-rw-r--r-- | qadevOOo/tests/java/mod/_sd/SdUnoPresView.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/qadevOOo/tests/java/mod/_sd/SdUnoPresView.java b/qadevOOo/tests/java/mod/_sd/SdUnoPresView.java index 47a46180ba03..08dd749f4403 100644 --- a/qadevOOo/tests/java/mod/_sd/SdUnoPresView.java +++ b/qadevOOo/tests/java/mod/_sd/SdUnoPresView.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 @@ -185,7 +185,7 @@ public class SdUnoPresView extends TestCase { the_pages.insertNewByIndex(0); the_pages.insertNewByIndex(0); secondDrawPage = (XDrawPage) AnyConverter.toObject( - new Type(XDrawPage.class),oDPi.getByIndex(3)); + new Type(XDrawPage.class),oDPi.getByIndex(3)); } catch (com.sun.star.lang.WrappedTargetException e) { e.printStackTrace( log ); throw new StatusException("Couldn't get DrawPage", e); @@ -204,7 +204,7 @@ public class SdUnoPresView extends TestCase { XShape shape1 = SOF.createShape( xImpressDoc, 5000, 3500, 7500, 5000, "Rectangle"); oShapes.add(shape1); - + oShapes = (XShapes) UnoRuntime.queryInterface(XShapes.class, secondDrawPage); shape1 = SOF.createShape( @@ -228,10 +228,10 @@ public class SdUnoPresView extends TestCase { if (anotherWindow != null) { tEnv.addObjRelation("XWindow.AnotherWindow",anotherWindow); } - + tEnv.addObjRelation("Selections", new Object[] { oDrawPage, secondDrawPage}); - + tEnv.addObjRelation("Comparer", new Comparator() { public int compare(Object o1, Object o2) { XIndexAccess indAc1 = (XIndexAccess) @@ -246,7 +246,7 @@ public class SdUnoPresView extends TestCase { } public boolean equals(Object obj) { return compare(this, obj) == 0; - } }); + } }); tEnv.addObjRelation("FirstPage", oDrawPage); tEnv.addObjRelation("SecondPage", secondDrawPage); @@ -260,7 +260,7 @@ public class SdUnoPresView extends TestCase { tEnv.addObjRelation("FirstModel", aModel); tEnv.addObjRelation("XUserInputInterception.XModel", aModel); - + XFrame the_frame = the_Desk.getCurrentFrame(); tEnv.addObjRelation("Frame", the_frame); |