summaryrefslogtreecommitdiff
path: root/qadevOOo
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-05-19 00:26:52 +0200
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-05-19 00:26:52 +0200
commited35c41764c3651d831f0dd1f3ef5678f8d04a05 (patch)
treef6fda81a26b49a61bf2a8c80d4bed558d302837e /qadevOOo
parent9ffd3013612cc1d20f04624a773f34df06132566 (diff)
fdo#37325: make toolkit.UnoScrollBarControl not fail headlessfeature/gsoc2011_wizards
Diffstat (limited to 'qadevOOo')
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/UnoScrollBarControl.java2
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 640365fdb..6d9db8da4 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();