--- a/qadevOOo/tests/java/mod/_toolkit/UnoScrollBarControl.java +++ b/qadevOOo/tests/java/mod/_toolkit/UnoScrollBarControl.java @@ -76,7 +76,9 @@ public class UnoScrollBarControl extends TestCase { XWindow xWin = xFrame.getContainerWindow(); Toolkit tk = Toolkit.getDefaultToolkit(); - Dimension dim = tk.getScreenSize(); + // breaks on LO 3.4.0.1 in headless + // Dimension dim = tk.getScreenSize(); + Dimension dim = new Dimension(800, 600); Rectangle newPosSize = xWin.getPosSize(); newPosSize.Width = new Double(dim.getWidth()).intValue();