diff options
Diffstat (limited to 'qadevOOo/tests/java/mod/_forms/OGroupBoxControl.java')
-rw-r--r-- | qadevOOo/tests/java/mod/_forms/OGroupBoxControl.java | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/qadevOOo/tests/java/mod/_forms/OGroupBoxControl.java b/qadevOOo/tests/java/mod/_forms/OGroupBoxControl.java index 7b4a6adea8be..c3707748fdf5 100644 --- a/qadevOOo/tests/java/mod/_forms/OGroupBoxControl.java +++ b/qadevOOo/tests/java/mod/_forms/OGroupBoxControl.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 @@ -142,7 +142,7 @@ public class OGroupBoxControl extends TestCase { * component. </li> * </ul> */ - protected TestEnvironment createTestEnvironment(TestParameters Param, + protected TestEnvironment createTestEnvironment(TestParameters Param, PrintWriter log) { XInterface oObj = null; Object anotherCtrl = null; @@ -152,16 +152,16 @@ public class OGroupBoxControl extends TestCase { XGraphics aGraphic = null; //Insert a ControlShape and get the ControlModel - XControlShape aShape = FormTools.createControlShape(xTextDoc, 5000, - 7000, 2000, 2000, + XControlShape aShape = FormTools.createControlShape(xTextDoc, 5000, + 7000, 2000, 2000, "GroupBox"); WriterTools.getDrawPage(xTextDoc).add((XShape) aShape); XControlModel the_Model = aShape.getControl(); - XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000, - 4500, 5000, 10000, + XControlShape aShape2 = FormTools.createControlShape(xTextDoc, 3000, + 4500, 5000, 10000, "TextField"); WriterTools.getDrawPage(xTextDoc).add((XShape) aShape2); @@ -170,7 +170,7 @@ public class OGroupBoxControl extends TestCase { //Try to query XControlAccess XControlAccess the_access = (XControlAccess) UnoRuntime.queryInterface( - XControlAccess.class, + XControlAccess.class, xTextDoc.getCurrentController()); //now get the OGroupBoxControl @@ -205,8 +205,8 @@ public class OGroupBoxControl extends TestCase { // Adding relation for XWindow - tEnv.addObjRelation("XWindow.AnotherWindow", - UnoRuntime.queryInterface(XWindow.class, + tEnv.addObjRelation("XWindow.AnotherWindow", + UnoRuntime.queryInterface(XWindow.class, anotherCtrl)); return tEnv; |