summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod/_sc/ScModelObj.java
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-08-23 15:21:41 +0200
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-08-23 15:21:41 +0200
commit1b12b332a9ff0c44b19f7f4f0c76b3f8ee534fc7 (patch)
treef951731fcd4f0c17dd7a55b154be238cb2b71bae /qadevOOo/tests/java/mod/_sc/ScModelObj.java
parent42e0579442c805df41454461d17cdede43c47b6a (diff)
recreated tag libreoffice-3.3.3.1 which had these commits:
commit aec86c5680a68c65de8537b8a83a16e8d90cfdd9 (tag: refs/tags/libreoffice-3.3.3.1) Author: Petr Mladek <pmladek@suse.cz> Date: Tue May 31 17:39:08 2011 +0200 Version 3.3.3.1, tag libreoffice-3.3.3.1 (3.3.3-rc1)
Notes
Notes: split repo tag: testing_libreoffice-3.3.3.1 split repo tag: testing_libreoffice-3.3.4.1
Diffstat (limited to 'qadevOOo/tests/java/mod/_sc/ScModelObj.java')
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScModelObj.java18
1 files changed, 9 insertions, 9 deletions
diff --git a/qadevOOo/tests/java/mod/_sc/ScModelObj.java b/qadevOOo/tests/java/mod/_sc/ScModelObj.java
index 6dd93942ff6b..52223953c94a 100644
--- a/qadevOOo/tests/java/mod/_sc/ScModelObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScModelObj.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
@@ -97,7 +97,7 @@ public class ScModelObj extends TestCase {
XComponent.class, xSpreadsheetDoc);
util.DesktopTools.closeDoc(oComp);
- oComp = (XComponent) UnoRuntime.queryInterface(XComponent.class,
+ oComp = (XComponent) UnoRuntime.queryInterface(XComponent.class,
xSecondsheetDoc);
util.DesktopTools.closeDoc(oComp);
}
@@ -124,7 +124,7 @@ public class ScModelObj extends TestCase {
* </ul>
* @see
*/
- protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
// creation of the testobject here
// first we write what we are intend to do to log file
@@ -155,9 +155,9 @@ public class ScModelObj extends TestCase {
throw new StatusException("Couldn't create document ", e);
}
- XModel model1 = (XModel) UnoRuntime.queryInterface(XModel.class,
+ XModel model1 = (XModel) UnoRuntime.queryInterface(XModel.class,
xSpreadsheetDoc);
- XModel model2 = (XModel) UnoRuntime.queryInterface(XModel.class,
+ XModel model2 = (XModel) UnoRuntime.queryInterface(XModel.class,
xSecondsheetDoc);
XInterface oObj = model1;
@@ -180,7 +180,7 @@ public class ScModelObj extends TestCase {
XIndexAccess oIndexSheets = (XIndexAccess) UnoRuntime.queryInterface(
XIndexAccess.class, oSheets);
XSpreadsheet oSheet = (XSpreadsheet) AnyConverter.toObject(
- new Type(XSpreadsheet.class),
+ new Type(XSpreadsheet.class),
oIndexSheets.getByIndex(0));
log.println("Getting a cell from sheet");
@@ -190,7 +190,7 @@ public class ScModelObj extends TestCase {
oSheet.getCellByPosition(5, 5).setValue(10);
oSheet.getCellByPosition(6, 5).setFormula("= E6 * F6");
xCalculatableCells = new XCell[]{
- oSheet.getCellByPosition(4, 5),
+ oSheet.getCellByPosition(4, 5),
oSheet.getCellByPosition(5, 5),
oSheet.getCellByPosition(6, 5)
};
@@ -225,8 +225,8 @@ public class ScModelObj extends TestCase {
}
_XPrintJobBroadcaster.MyPrintJobListener listener = new _XPrintJobBroadcaster.MyPrintJobListener(oObj, fileName);
tEnv.addObjRelation("XPrintJobBroadcaster.XPrintJobListener", listener);
-
+
return tEnv;
}
-
+
} // finish class ScModelObj