diff options
Diffstat (limited to 'qadevOOo/tests/java/ifc/table/_XAutoFormattable.java')
-rw-r--r-- | qadevOOo/tests/java/ifc/table/_XAutoFormattable.java | 14 |
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 |