diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/source/bootstrapfixture.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/source/bootstrapfixture.cxx b/test/source/bootstrapfixture.cxx index f6fd67bd3344..3a6e1eb23956 100644 --- a/test/source/bootstrapfixture.cxx +++ b/test/source/bootstrapfixture.cxx @@ -71,11 +71,10 @@ void test::BootstrapFixture::setUp() // force locale (and resource files loaded) to en-US - lang::Locale aLocale( "en", "US", ""); - ResMgr::SetDefaultLocale( aLocale ); + OUString aLangISO( "en-US" ); + ResMgr::SetDefaultLocale( LanguageTag( aLangISO) ); SvtSysLocaleOptions aLocalOptions; - OUString aLangISO( "en-US" ); aLocalOptions.SetLocaleConfigString( aLangISO ); aLocalOptions.SetUILocaleConfigString( aLangISO ); |