summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod/_sc/ScDataPilotFieldObj.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/mod/_sc/ScDataPilotFieldObj.java')
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScDataPilotFieldObj.java28
1 files changed, 14 insertions, 14 deletions
diff --git a/qadevOOo/tests/java/mod/_sc/ScDataPilotFieldObj.java b/qadevOOo/tests/java/mod/_sc/ScDataPilotFieldObj.java
index c19e8dab3b36..27f2da2a8a6b 100644
--- a/qadevOOo/tests/java/mod/_sc/ScDataPilotFieldObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScDataPilotFieldObj.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
@@ -124,7 +124,7 @@ public class ScDataPilotFieldObj extends TestCase {
* @see com.sun.star.sheet.XDataPilotTablesSupplier
* @see com.sun.star.sheet.XDataPilotDescriptor
*/
- protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
+ protected synchronized TestEnvironment createTestEnvironment(TestParameters Param,
PrintWriter log) {
XInterface oObj = null;
@@ -157,10 +157,10 @@ public class ScDataPilotFieldObj extends TestCase {
try {
oSheet = (XSpreadsheet) AnyConverter.toObject(
- new Type(XSpreadsheet.class),
+ new Type(XSpreadsheet.class),
oIndexAccess.getByIndex(0));
oSheet2 = (XSpreadsheet) AnyConverter.toObject(
- new Type(XSpreadsheet.class),
+ new Type(XSpreadsheet.class),
oIndexAccess.getByIndex(1));
} catch (com.sun.star.lang.WrappedTargetException e) {
e.printStackTrace();
@@ -220,7 +220,7 @@ public class ScDataPilotFieldObj extends TestCase {
log.println("Getting test objects");
XDataPilotTablesSupplier DPTS = (XDataPilotTablesSupplier) UnoRuntime.queryInterface(
- XDataPilotTablesSupplier.class,
+ XDataPilotTablesSupplier.class,
oSheet);
XDataPilotTables DPT = DPTS.getDataPilotTables();
XDataPilotDescriptor DPDsc = DPT.createDataPilotDescriptor();
@@ -241,9 +241,9 @@ public class ScDataPilotFieldObj extends TestCase {
}
try {
- fieldPropSet.setPropertyValue("Function",
+ fieldPropSet.setPropertyValue("Function",
com.sun.star.sheet.GeneralFunction.SUM);
- fieldPropSet.setPropertyValue("Orientation",
+ fieldPropSet.setPropertyValue("Orientation",
com.sun.star.sheet.DataPilotFieldOrientation.DATA);
} catch (com.sun.star.lang.WrappedTargetException e) {
e.printStackTrace();
@@ -284,7 +284,7 @@ public class ScDataPilotFieldObj extends TestCase {
throw new StatusException("Couldn't get data pilot field", e);
}
- log.println("Creating object - " +
+ log.println("Creating object - " +
((oObj == null) ? "FAILED" : "OK"));
TestEnvironment tEnv = new TestEnvironment(oObj);
@@ -318,7 +318,7 @@ public class ScDataPilotFieldObj extends TestCase {
return;
}
- XNamed named = (XNamed) UnoRuntime.queryInterface(XNamed.class,
+ XNamed named = (XNamed) UnoRuntime.queryInterface(XNamed.class,
field);
String name = named.getName();
@@ -333,35 +333,35 @@ public class ScDataPilotFieldObj extends TestCase {
try {
switch (cnt % 5) {
case 0:
- props.setPropertyValue("Orientation",
+ props.setPropertyValue("Orientation",
DataPilotFieldOrientation.COLUMN);
log.println(" Column");
break;
case 1:
- props.setPropertyValue("Orientation",
+ props.setPropertyValue("Orientation",
DataPilotFieldOrientation.ROW);
log.println(" Row");
break;
case 2:
- props.setPropertyValue("Orientation",
+ props.setPropertyValue("Orientation",
DataPilotFieldOrientation.DATA);
log.println(" Data");
break;
case 3:
- props.setPropertyValue("Orientation",
+ props.setPropertyValue("Orientation",
DataPilotFieldOrientation.HIDDEN);
log.println(" Hidden");
break;
case 4:
- props.setPropertyValue("Orientation",
+ props.setPropertyValue("Orientation",
DataPilotFieldOrientation.PAGE);
log.println(" Page");