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/mod/_sc/ScDataPilotItemsObj.java | |
parent | Java - remove dead equals() methods (diff) | |
download | core-b707a707aae71f3e05dc096d8de14d2509e2b62f.tar.gz core-b707a707aae71f3e05dc096d8de14d2509e2b62f.zip |
Java cleanup - remove unused local variables
Change-Id: Ied9c8635cde96d2d00d66a68cd8387799455c2ec
Diffstat (limited to 'qadevOOo/tests/java/mod/_sc/ScDataPilotItemsObj.java')
-rw-r--r-- | qadevOOo/tests/java/mod/_sc/ScDataPilotItemsObj.java | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/qadevOOo/tests/java/mod/_sc/ScDataPilotItemsObj.java b/qadevOOo/tests/java/mod/_sc/ScDataPilotItemsObj.java index 804c3a255fe2..73fb3d94d046 100644 --- a/qadevOOo/tests/java/mod/_sc/ScDataPilotItemsObj.java +++ b/qadevOOo/tests/java/mod/_sc/ScDataPilotItemsObj.java @@ -187,23 +187,15 @@ public class ScDataPilotItemsObj extends TestCase { throw new StatusException("Couldn't fill some cells", e); } - // change a value of a cell and check the change in the data pilot - // (for the XDataPilotTable.refresh() test) - Object oChangeCell = null; - Object oCheckCell = null; - Integer aChangeValue = null; - try { - // cell of data - oChangeCell = oSheet.getCellByPosition(1, 5); + oSheet.getCellByPosition(1, 5); int x = sCellAdress.Column; int y = sCellAdress.Row + 3; - // cell of the data pilot output - oCheckCell = oSheet.getCellByPosition(x, y); - aChangeValue = new Integer(27); + oSheet.getCellByPosition(x, y); + new Integer(27); } catch (com.sun.star.lang.IndexOutOfBoundsException e) { e.printStackTrace(); throw new StatusException("Couldn't get cells for changeing.", e); |