diff options
author | Noel Grandin <noel@peralex.com> | 2012-06-27 16:22:54 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-06-29 22:03:01 +0200 |
commit | b707a707aae71f3e05dc096d8de14d2509e2b62f (patch) | |
tree | ea82bdb32f10a89fdd8c3c64596a179602c84466 /qadevOOo/tests/java/ifc/style/_CharacterProperties.java | |
parent | 8cd0fc50aa895d5c1588623a7675dd5679752379 (diff) |
Java cleanup - remove unused local variables
Change-Id: Ied9c8635cde96d2d00d66a68cd8387799455c2ec
Diffstat (limited to 'qadevOOo/tests/java/ifc/style/_CharacterProperties.java')
-rw-r--r-- | qadevOOo/tests/java/ifc/style/_CharacterProperties.java | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/qadevOOo/tests/java/ifc/style/_CharacterProperties.java b/qadevOOo/tests/java/ifc/style/_CharacterProperties.java index 9141741aca89..9a838ecef630 100644 --- a/qadevOOo/tests/java/ifc/style/_CharacterProperties.java +++ b/qadevOOo/tests/java/ifc/style/_CharacterProperties.java @@ -215,7 +215,6 @@ public class _CharacterProperties extends MultiPropertyTest { if (oPara == null) { testProperty("CharStyleNames", StylesTester) ; } else { - String[] newNames = {"Standard"}; changeProp((XPropertySet) oPara, (XPropertySet) oPort,"CharStyleNames",new String[] {"Standard"}); } @@ -254,7 +253,7 @@ public class _CharacterProperties extends MultiPropertyTest { changeProp((XPropertySet) oPara, (XPropertySet) oPort,"RubyAdjust", aShort); } - Short aShort = new Short((short) 1); + new Short((short) 1); } /** @@ -447,14 +446,14 @@ public class _CharacterProperties extends MultiPropertyTest { attr.Value = "true"; uda.insertByName("Cellprop:has-first-alien-attribute", attr); - String[] els = uda.getElementNames(); + uda.getElementNames(); oObj.setPropertyValue("TextUserDefinedAttributes", uda); uda = (XNameContainer) AnyConverter.toObject( new Type(XNameContainer.class), oObj.getPropertyValue("TextUserDefinedAttributes")); - els = uda.getElementNames(); + uda.getElementNames(); - Object obj = uda.getByName("Cellprop:has-first-alien-attribute"); + uda.getByName("Cellprop:has-first-alien-attribute"); res = true; } catch (com.sun.star.beans.UnknownPropertyException upe) { if (isOptional("TextUserDefinedAttributes")) { |