[Libreoffice-commits] core.git: test/source

Caolán McNamara caolanm at redhat.com
Wed Apr 12 17:59:47 UTC 2017


 test/source/setupvcl.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4e0fab219230cc5a35022beb203a014685d8c354
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Apr 12 18:04:59 2017 +0100

    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 at libreoffice.org>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

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));
 }


More information about the Libreoffice-commits mailing list