summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-04-12 18:04:59 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-04-12 19:59:24 +0200
commit4e0fab219230cc5a35022beb203a014685d8c354 (patch)
treef1972471ed69a2e00f594e1a727f78fd3f524258 /test
parente8ffe54dec568332c301f8510f3186c04421b911 (diff)
EnableHeadlessMode bool arg doesn't toggle headless
but refers if a dialog is fatal or autocancelled Change-Id: I7f15ecb26a3e29065caaacb932c7416f4cd96ff6 Reviewed-on: https://gerrit.libreoffice.org/36487 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'test')
-rw-r--r--test/source/setupvcl.cxx2
1 files changed, 1 insertions, 1 deletions
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));
}