[Libreoffice-commits] .: Branch 'libreoffice-3-4-0' - qadevOOo/tests
Bjoern Michaelsen
bmichaelsen at kemper.freedesktop.org
Thu May 19 02:47:15 PDT 2011
qadevOOo/tests/java/mod/_toolkit/UnoScrollBarControl.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 4f83907d2020f22b89bbc7dc9e099bee7eb1c69b
Author: Bjoern Michaelsen <bjoern.michaelsen at canonical.com>
Date: Thu May 19 00:26:52 2011 +0200
fdo#37325: make toolkit.UnoScrollBarControl not fail headless
diff --git a/qadevOOo/tests/java/mod/_toolkit/UnoScrollBarControl.java b/qadevOOo/tests/java/mod/_toolkit/UnoScrollBarControl.java
index 640365f..6d9db8d 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();
More information about the Libreoffice-commits
mailing list