summaryrefslogtreecommitdiff
path: root/sc/qa
diff options
context:
space:
mode:
Diffstat (limited to 'sc/qa')
-rw-r--r--sc/qa/complex/sc/CalcRTL.java19
1 files changed, 7 insertions, 12 deletions
diff --git a/sc/qa/complex/sc/CalcRTL.java b/sc/qa/complex/sc/CalcRTL.java
index 5921372e8050..9176d5cda8b6 100644
--- a/sc/qa/complex/sc/CalcRTL.java
+++ b/sc/qa/complex/sc/CalcRTL.java
@@ -163,21 +163,16 @@ public class CalcRTL /* extends ComplexTestCase */
assertTrue("Anchor has changed",
(previous[0].equals(RL_TB[0]) && previous[0].equals(LR_TB[0])));
assertEquals("HoriOrientPosition has changed",
- 2100, (Integer.valueOf(previous[1]).intValue() + Integer.valueOf(
- RL_TB[1])
- .intValue() +
- Integer.valueOf(LR_TB[1]).intValue()));
+ 2100, Integer.parseInt(previous[1]) + Integer.parseInt(RL_TB[1]) +
+ Integer.parseInt(LR_TB[1]));
assertEquals("VertOrientPosition has changed",
- 3*Integer.valueOf(previous[2]).intValue(),
- (Integer.valueOf(previous[2]).intValue() + Integer.valueOf(
- RL_TB[2])
- .intValue() +
- Integer.valueOf(LR_TB[2]).intValue()));
+ 3*Integer.parseInt(previous[2]),
+ (Integer.parseInt(previous[2]) + Integer.parseInt(RL_TB[2]) +
+ Integer.parseInt(LR_TB[2])));
assertTrue("x-position hasn't changed",
(previous[3].equals(LR_TB[3]) &&
- ((Integer.valueOf(previous[3]).intValue() * (-1)) -
- oShape.getSize().Width != Integer.valueOf(LR_TB[2])
- .intValue())));
+ ((Integer.parseInt(previous[3]) * (-1)) -
+ oShape.getSize().Width != Integer.parseInt(LR_TB[2]))));
assertTrue("Couldn't close document", closeSpreadsheetDocument());
}