diff options
Diffstat (limited to 'test/source/bootstrapfixture.cxx')
-rw-r--r-- | test/source/bootstrapfixture.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
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 <com/sun/star/ucb/XContentProvider.hpp> #include <com/sun/star/ucb/XUniversalContentBroker.hpp> +#include <i18nlangtag/mslangid.hxx> #include <vcl/svapp.hxx> #include <tools/resmgr.hxx> #include <vcl/graphicfilter.hxx> @@ -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); |