[Libreoffice-commits] .: test/source

Michael Meeks michael at kemper.freedesktop.org
Fri Sep 30 06:56:59 PDT 2011


 test/source/bootstrapfixture.cxx |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 6f1dbfbe71b57f70fee88c49487436cb1e23ec6f
Author: Michael Meeks <michael.meeks at suse.com>
Date:   Fri Sep 30 14:57:15 2011 +0100

    set the core locale as well as the UI one to English

diff --git a/test/source/bootstrapfixture.cxx b/test/source/bootstrapfixture.cxx
index 557b42d..4b2839f 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);
 


More information about the Libreoffice-commits mailing list