summaryrefslogtreecommitdiff
path: root/test/source/bootstrapfixture.cxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2011-09-30 14:57:15 +0100
committerMichael Meeks <michael.meeks@suse.com>2011-09-30 14:57:41 +0100
commit6f1dbfbe71b57f70fee88c49487436cb1e23ec6f (patch)
tree96574410089c4a52af91e8690e1740979659c857 /test/source/bootstrapfixture.cxx
parent979e2c8f8b9325a5c75bfc1f388aa8f69b988d2c (diff)
set the core locale as well as the UI one to English
Diffstat (limited to 'test/source/bootstrapfixture.cxx')
-rw-r--r--test/source/bootstrapfixture.cxx5
1 files changed, 3 insertions, 2 deletions
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);