From e6e4474aae78cb5ab76a4d80642e32c02afd5133 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 11 Apr 2014 17:03:58 +0100 Subject: set what system locale should resolve to for languagetag normally this happens in desktop/source/app/langselect.cxx for the fat app case Change-Id: I4772172aa6f071ac03d74e2abe7a9e197f0dc964 --- test/source/bootstrapfixture.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/source/bootstrapfixture.cxx') diff --git a/test/source/bootstrapfixture.cxx b/test/source/bootstrapfixture.cxx index dc7c7b0121f6..c76995af4af8 100644 --- a/test/source/bootstrapfixture.cxx +++ b/test/source/bootstrapfixture.cxx @@ -19,6 +19,7 @@ #include #include +#include #include #include #include @@ -64,6 +65,9 @@ void test_init_impl(bool bAssertOnDialog, bool bNeedUCB, aLocalOptions.SetLocaleConfigString( aLangISO ); aLocalOptions.SetUILocaleConfigString( aLangISO ); + MsLangId::setConfiguredSystemUILanguage(LANGUAGE_ENGLISH_US); + LanguageTag::setConfiguredSystemLanguage(LANGUAGE_ENGLISH_US); + InitVCL(); if (Application::IsHeadlessModeRequested()) Application::EnableHeadlessMode(true); -- cgit v1.2.3