summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/ifc/table/_XAutoFormattable.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/ifc/table/_XAutoFormattable.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/ifc/table/_XAutoFormattable.java')
-rw-r--r--qadevOOo/tests/java/ifc/table/_XAutoFormattable.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/qadevOOo/tests/java/ifc/table/_XAutoFormattable.java b/qadevOOo/tests/java/ifc/table/_XAutoFormattable.java
index 4843d25f93fc..edb2ccab1ceb 100644
--- a/qadevOOo/tests/java/ifc/table/_XAutoFormattable.java
+++ b/qadevOOo/tests/java/ifc/table/_XAutoFormattable.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
@@ -75,12 +75,12 @@ public class _XAutoFormattable extends MultiMethodTest {
XCell oCell = cellRange.getCellByPosition(0, 0);
XPropertySet PS = (XPropertySet) UnoRuntime.queryInterface(
XPropertySet.class, oCell);
-
+
Integer bkgrnd1;
try {
bkgrnd1 = (Integer) PS.getPropertyValue("CellBackColor");
} catch (com.sun.star.beans.UnknownPropertyException e) {
- bkgrnd1 = (Integer) PS.getPropertyValue("BackColor");
+ bkgrnd1 = (Integer) PS.getPropertyValue("BackColor");
}
// getting formats names.
@@ -112,8 +112,8 @@ public class _XAutoFormattable extends MultiMethodTest {
try {
bkgrnd2 = (Integer) PS.getPropertyValue("CellBackColor");
} catch (com.sun.star.beans.UnknownPropertyException e) {
- bkgrnd2 = (Integer) PS.getPropertyValue("BackColor");
- }
+ bkgrnd2 = (Integer) PS.getPropertyValue("BackColor");
+ }
bResult &= !bkgrnd1.equals(bkgrnd2);
} catch (com.sun.star.uno.Exception e) {
@@ -124,11 +124,11 @@ public class _XAutoFormattable extends MultiMethodTest {
tRes.tested("autoFormat()", bResult);
}
-
+
/**
* Forces environment recreation.
*/
protected void after() {
disposeEnvironment();
- }
+ }
} \ No newline at end of file