diff options
Diffstat (limited to 'qadevOOo/tests/java/mod/_sc/ScDataPilotItemObj.java')
-rw-r--r-- | qadevOOo/tests/java/mod/_sc/ScDataPilotItemObj.java | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/qadevOOo/tests/java/mod/_sc/ScDataPilotItemObj.java b/qadevOOo/tests/java/mod/_sc/ScDataPilotItemObj.java index 7bb82070f96c..217521d47c43 100644 --- a/qadevOOo/tests/java/mod/_sc/ScDataPilotItemObj.java +++ b/qadevOOo/tests/java/mod/_sc/ScDataPilotItemObj.java @@ -187,23 +187,15 @@ public class ScDataPilotItemObj 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); |