summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/ifc/sheet/_XMultipleOperation.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/ifc/sheet/_XMultipleOperation.java')
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XMultipleOperation.java26
1 files changed, 13 insertions, 13 deletions
diff --git a/qadevOOo/tests/java/ifc/sheet/_XMultipleOperation.java b/qadevOOo/tests/java/ifc/sheet/_XMultipleOperation.java
index e10ca8d55f2f..3ae800e78d38 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XMultipleOperation.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XMultipleOperation.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
@@ -64,7 +64,7 @@ public class _XMultipleOperation extends MultiMethodTest {
boolean res = true;
XCellRange cellRange = oSheet.getCellRangeByName("$A$17:$A$17");
XCellRangeAddressable CRA = (XCellRangeAddressable) UnoRuntime.queryInterface(
- XCellRangeAddressable.class,
+ XCellRangeAddressable.class,
cellRange);
XCell cell = null;
XCell cell2 = null;
@@ -88,7 +88,7 @@ public class _XMultipleOperation extends MultiMethodTest {
log.println("filling cells");
fillCells();
log.println("setting TableOperation with parameter ROW");
- oObj.setTableOperation(CRA.getRangeAddress(), TableOperationMode.ROW,
+ oObj.setTableOperation(CRA.getRangeAddress(), TableOperationMode.ROW,
CA.getCellAddress(), CA2.getCellAddress());
log.println("checking values");
cellCoords = new Point[] {
@@ -100,8 +100,8 @@ public class _XMultipleOperation extends MultiMethodTest {
log.println("filling cells");
fillCells();
log.println("setting TableOperation with parameter COLUMN");
- oObj.setTableOperation(CRA.getRangeAddress(),
- TableOperationMode.COLUMN, CA.getCellAddress(),
+ oObj.setTableOperation(CRA.getRangeAddress(),
+ TableOperationMode.COLUMN, CA.getCellAddress(),
CA2.getCellAddress());
log.println("checking values");
cellCoords = new Point[] {
@@ -114,8 +114,8 @@ public class _XMultipleOperation extends MultiMethodTest {
log.println("filling cells");
fillCells();
log.println("setting TableOperation with parameter BOTH");
- oObj.setTableOperation(CRA.getRangeAddress(),
- TableOperationMode.BOTH,
+ oObj.setTableOperation(CRA.getRangeAddress(),
+ TableOperationMode.BOTH,
CA.getCellAddress(), CA2.getCellAddress());
log.println("checking values");
cellCoords = new Point[] {
@@ -148,23 +148,23 @@ public class _XMultipleOperation extends MultiMethodTest {
for (int i = 0; i < cellValues.length; i++) {
try {
- boolean locres = oSheet.getCellByPosition(cellCoords[i].X,
+ boolean locres = oSheet.getCellByPosition(cellCoords[i].X,
cellCoords[i].Y)
.getValue() == cellValues[i];
res &= locres;
if (!locres) {
- log.println("Result differs for cell (" +
- cellCoords[i].X + "," + cellCoords[i].Y +
+ log.println("Result differs for cell (" +
+ cellCoords[i].X + "," + cellCoords[i].Y +
")");
log.println("Expected: " + cellValues[i]);
- log.println("Getting: " +
- oSheet.getCellByPosition(cellCoords[i].X,
+ log.println("Getting: " +
+ oSheet.getCellByPosition(cellCoords[i].X,
cellCoords[i].Y)
.getValue());
}
} catch (com.sun.star.lang.IndexOutOfBoundsException e) {
- log.println("Exception while checking Values " +
+ log.println("Exception while checking Values " +
e.getMessage());
res &= false;
}