diff options
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); |