diff options
author | Eike Rathke <erack@redhat.com> | 2012-11-17 01:16:00 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2012-11-17 01:16:22 +0100 |
commit | 715957c39a8e12a24dd592f55565be62da78c450 (patch) | |
tree | ff1dc134b89708d28f65c8b18512887d5bbbab27 /test | |
parent | 577b95a96092b50b454ad2d5a12edc35120db1d6 (diff) |
we really don't need lang-conversion here
Change-Id: I1f72ca29b2f5b286bfae906dc3ee16581a2b1c36
Diffstat (limited to 'test')
-rw-r--r-- | test/source/bootstrapfixture.cxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/test/source/bootstrapfixture.cxx b/test/source/bootstrapfixture.cxx index a5ce0f0b3068..e52ee2cddbce 100644 --- a/test/source/bootstrapfixture.cxx +++ b/test/source/bootstrapfixture.cxx @@ -32,7 +32,6 @@ #include <rtl/bootstrap.hxx> #include <cppuhelper/bootstrap.hxx> #include <comphelper/processfactory.hxx> -#include <i18npool/mslangid.hxx> #include <com/sun/star/lang/Locale.hpp> #include <com/sun/star/lang/XComponent.hpp> @@ -71,15 +70,12 @@ void test::BootstrapFixture::setUp() test::BootstrapFixtureBase::setUp(); // force locale (and resource files loaded) to en-US - const LanguageType eLang=LANGUAGE_ENGLISH_US; - OUString aLang, aCountry; - MsLangId::convertLanguageToIsoNames(eLang, aLang, aCountry); - lang::Locale aLocale(aLang, aCountry, OUString()); + lang::Locale aLocale( "en", "US", ""); ResMgr::SetDefaultLocale( aLocale ); SvtSysLocaleOptions aLocalOptions; - OUString aLangISO = MsLangId::convertLanguageToIsoString( LANGUAGE_ENGLISH_US ); + OUString aLangISO( "en-US" ); aLocalOptions.SetLocaleConfigString( aLangISO ); aLocalOptions.SetUILocaleConfigString( aLangISO ); |