diff options
Diffstat (limited to 'qadevOOo/tests/java/mod/_toolkit/UnoControlCheckBox.java')
-rw-r--r-- | qadevOOo/tests/java/mod/_toolkit/UnoControlCheckBox.java | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/qadevOOo/tests/java/mod/_toolkit/UnoControlCheckBox.java b/qadevOOo/tests/java/mod/_toolkit/UnoControlCheckBox.java index a2b8c167e2c4..c079ed8ac6ac 100644 --- a/qadevOOo/tests/java/mod/_toolkit/UnoControlCheckBox.java +++ b/qadevOOo/tests/java/mod/_toolkit/UnoControlCheckBox.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 @@ -83,7 +83,7 @@ public class UnoControlCheckBox extends TestCase { util.DesktopTools.closeDoc(xTD2); } - protected TestEnvironment createTestEnvironment(TestParameters Param, + protected TestEnvironment createTestEnvironment(TestParameters Param, PrintWriter log) { XInterface oObj = null; XWindowPeer the_win = null; @@ -93,10 +93,10 @@ public class UnoControlCheckBox extends TestCase { XWindow anotherWindow = null; //Insert a ControlShape and get the ControlModel - XControlShape aShape = FormTools.createUnoControlShape(xTextDoc, 3000, - 4500, 15000, - 10000, - "CheckBox", + XControlShape aShape = FormTools.createUnoControlShape(xTextDoc, 3000, + 4500, 15000, + 10000, + "CheckBox", "UnoControlCheckBox"); WriterTools.getDrawPage(xTextDoc).add((XShape) aShape); @@ -105,7 +105,7 @@ public class UnoControlCheckBox extends TestCase { //Try to query XControlAccess XControlAccess the_access = (XControlAccess) UnoRuntime.queryInterface( - XControlAccess.class, + XControlAccess.class, xTextDoc.getCurrentController()); //get the CheckBoxControl for the needed Object relations @@ -137,7 +137,7 @@ public class UnoControlCheckBox extends TestCase { tEnv.addObjRelation("MODEL", the_Model); // adding object relation for XItemListener - ifc.awt._XItemListener.TestItemListener listener = + ifc.awt._XItemListener.TestItemListener listener = new ifc.awt._XItemListener.TestItemListener(); XCheckBox check = (XCheckBox) UnoRuntime.queryInterface( XCheckBox.class, oObj); |