From 4e0fab219230cc5a35022beb203a014685d8c354 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 12 Apr 2017 18:04:59 +0100 Subject: EnableHeadlessMode bool arg doesn't toggle headless MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit but refers if a dialog is fatal or autocancelled Change-Id: I7f15ecb26a3e29065caaacb932c7416f4cd96ff6 Reviewed-on: https://gerrit.libreoffice.org/36487 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- test/source/setupvcl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/source/setupvcl.cxx b/test/source/setupvcl.cxx index 49bdf7364865..ed090eab62bb 100644 --- a/test/source/setupvcl.cxx +++ b/test/source/setupvcl.cxx @@ -74,7 +74,7 @@ void test::setUpVcl() { LanguageTag::setConfiguredSystemLanguage(tag.getLanguageType(false)); InitVCL(); if (isHeadless()) { - Application::EnableHeadlessMode(true); + Application::EnableHeadlessMode(false); } Application::setDeInitHook(LINK(nullptr, Hook, deinitHook)); } -- cgit v1.2.3