diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-08-23 15:21:41 +0200 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-08-23 15:21:41 +0200 |
commit | 1b12b332a9ff0c44b19f7f4f0c76b3f8ee534fc7 (patch) | |
tree | f951731fcd4f0c17dd7a55b154be238cb2b71bae /qadevOOo/tests/java/mod/_sc/ScDataPilotItemsObj.java | |
parent | 42e0579442c805df41454461d17cdede43c47b6a (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/ScDataPilotItemsObj.java')
-rw-r--r-- | qadevOOo/tests/java/mod/_sc/ScDataPilotItemsObj.java | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/qadevOOo/tests/java/mod/_sc/ScDataPilotItemsObj.java b/qadevOOo/tests/java/mod/_sc/ScDataPilotItemsObj.java index ac9971b3c778..c3d0df45cbe2 100644 --- a/qadevOOo/tests/java/mod/_sc/ScDataPilotItemsObj.java +++ b/qadevOOo/tests/java/mod/_sc/ScDataPilotItemsObj.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 @@ -125,7 +125,7 @@ public class ScDataPilotItemsObj 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; @@ -158,10 +158,10 @@ public class ScDataPilotItemsObj 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(); @@ -221,7 +221,7 @@ public class ScDataPilotItemsObj 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(); @@ -242,9 +242,9 @@ public class ScDataPilotItemsObj 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(); @@ -285,7 +285,7 @@ public class ScDataPilotItemsObj extends TestCase { throw new StatusException("Couldn't get data pilot field", e); } - log.println("Creating object - " + + log.println("Creating object - " + ((oObj == null) ? "FAILED" : "OK")); XDataPilotField xDataPilotField = (XDataPilotField) UnoRuntime.queryInterface( @@ -324,7 +324,7 @@ public class ScDataPilotItemsObj extends TestCase { return; } - XNamed named = (XNamed) UnoRuntime.queryInterface(XNamed.class, + XNamed named = (XNamed) UnoRuntime.queryInterface(XNamed.class, field); String name = named.getName(); @@ -339,35 +339,35 @@ public class ScDataPilotItemsObj 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"); |