From 6f1dbfbe71b57f70fee88c49487436cb1e23ec6f Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Fri, 30 Sep 2011 14:57:15 +0100 Subject: set the core locale as well as the UI one to English --- test/source/bootstrapfixture.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/source/bootstrapfixture.cxx b/test/source/bootstrapfixture.cxx index 557b42d0c38d..4b2839fe6832 100644 --- a/test/source/bootstrapfixture.cxx +++ b/test/source/bootstrapfixture.cxx @@ -106,8 +106,9 @@ test::BootstrapFixture::BootstrapFixture( bool bAssertOnDialog, bool bNeedUCB ) ResMgr::SetDefaultLocale( aLocale ); SvtSysLocaleOptions aLocalOptions; - aLocalOptions.SetUILocaleConfigString( - MsLangId::convertLanguageToIsoString( eLang ) ); + rtl::OUString aLangISO = MsLangId::convertLanguageToIsoString( eLang ); + aLocalOptions.SetLocaleConfigString( aLangISO ); + aLocalOptions.SetUILocaleConfigString( aLangISO ); InitVCL(m_xSFactory); -- cgit