diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-05-19 00:26:52 +0200 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-05-19 00:26:52 +0200 |
commit | e6d16a842035c867991f074fcb2628d95e85c7e8 (patch) | |
tree | 34bf6ebcbf51b6a66cf1afe7ba83b8e1b2ad6a66 /qadevOOo/tests/java | |
parent | 5e3211da788df02996125c534ce01f8941f5e1e1 (diff) |
fdo#37325: make toolkit.UnoScrollBarControl not fail headless
Diffstat (limited to 'qadevOOo/tests/java')
-rw-r--r-- | qadevOOo/tests/java/mod/_toolkit/UnoScrollBarControl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qadevOOo/tests/java/mod/_toolkit/UnoScrollBarControl.java b/qadevOOo/tests/java/mod/_toolkit/UnoScrollBarControl.java index e12d323a5a8f..9d1b0367f13c 100644 --- a/qadevOOo/tests/java/mod/_toolkit/UnoScrollBarControl.java +++ b/qadevOOo/tests/java/mod/_toolkit/UnoScrollBarControl.java @@ -76,7 +76,7 @@ public class UnoScrollBarControl extends TestCase { XWindow xWin = xFrame.getContainerWindow(); Toolkit tk = Toolkit.getDefaultToolkit(); - Dimension dim = tk.getScreenSize(); + Dimension dim = new Dimension(800, 600); Rectangle newPosSize = xWin.getPosSize(); newPosSize.Width = new Double(dim.getWidth()).intValue(); |