diff options
author | Noel Grandin <noel@peralex.com> | 2015-10-14 09:11:58 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-10-14 09:55:12 +0200 |
commit | 47550b1f042c3e0d4340af44fa4f4ae3befb772b (patch) | |
tree | bd59362c3d5447300d8abdfd8d1238da6081b8fd /qadevOOo | |
parent | abd980d4ec16fed637d3fce580e7ae728f69d564 (diff) |
cid#1326607 Bx: Questionable Boxing of primitive value
Change-Id: Ib1274f55d5e26612dde2753a16ae1ad28007f758
Diffstat (limited to 'qadevOOo')
-rw-r--r-- | qadevOOo/tests/java/mod/_toolkit/UnoScrollBarControl.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qadevOOo/tests/java/mod/_toolkit/UnoScrollBarControl.java b/qadevOOo/tests/java/mod/_toolkit/UnoScrollBarControl.java index 2fae7a210c6e..3a6b27474e11 100644 --- a/qadevOOo/tests/java/mod/_toolkit/UnoScrollBarControl.java +++ b/qadevOOo/tests/java/mod/_toolkit/UnoScrollBarControl.java @@ -66,8 +66,8 @@ public class UnoScrollBarControl extends TestCase { Dimension dim = new Dimension(800, 600); Rectangle newPosSize = xWin.getPosSize(); - newPosSize.Width = new Double(dim.getWidth()).intValue(); - newPosSize.Height = new Double(dim.getHeight()).intValue(); + newPosSize.Width = (int) dim.getWidth(); + newPosSize.Height = (int) dim.getHeight(); newPosSize.X = 0; newPosSize.Y = 0; |