summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);