summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod/_forms/OImageButtonControl.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/mod/_forms/OImageButtonControl.java')
-rw-r--r--qadevOOo/tests/java/mod/_forms/OImageButtonControl.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/qadevOOo/tests/java/mod/_forms/OImageButtonControl.java b/qadevOOo/tests/java/mod/_forms/OImageButtonControl.java
index 8d8744ed7377..60f208825863 100644
--- a/qadevOOo/tests/java/mod/_forms/OImageButtonControl.java
+++ b/qadevOOo/tests/java/mod/_forms/OImageButtonControl.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
@@ -147,7 +147,7 @@ public class OImageButtonControl extends TestCase {
* component. </li>
* </ul>
*/
- protected TestEnvironment createTestEnvironment(TestParameters Param,
+ protected TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
Object anotherCtrl = null;
@@ -157,16 +157,16 @@ public class OImageButtonControl extends TestCase {
XGraphics aGraphic = null;
//Insert a ControlShape and get the ControlModel
- XControlShape aShape = FormTools.createControlShape(xTextDoc, 3000,
- 4500, 15000, 10000,
+ XControlShape aShape = FormTools.createControlShape(xTextDoc, 3000,
+ 4500, 15000, 10000,
"ImageButton");
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);
@@ -175,7 +175,7 @@ public class OImageButtonControl extends TestCase {
//Try to query XControlAccess
XControlAccess the_access = (XControlAccess) UnoRuntime.queryInterface(
- XControlAccess.class,
+ XControlAccess.class,
xTextDoc.getCurrentController());
//now get the OImageButtonControl
@@ -209,7 +209,7 @@ public class OImageButtonControl extends TestCase {
tEnv.addObjRelation("MODEL", the_Model);
// Adding relation for XWindow
- XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
+ XWindow forObjRel = (XWindow) UnoRuntime.queryInterface(XWindow.class,
anotherCtrl);
tEnv.addObjRelation("XWindow.AnotherWindow", forObjRel);