diff options
author | Eike Rathke <erack@redhat.com> | 2013-03-29 14:07:33 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-03-29 14:09:01 +0100 |
commit | 5be14df2444d9fcc3518c5f54872c87b924e3e98 (patch) | |
tree | 5a0b3b4b588469e9ff012c3a3328bdb224843160 /basic | |
parent | lol, rtl::OString("dbu").getStr() (diff) | |
download | core-5be14df2444d9fcc3518c5f54872c87b924e3e98.tar.gz core-5be14df2444d9fcc3518c5f54872c87b924e3e98.zip |
ResMgr with LanguageTag
Change-Id: Ie5ce9157a7ea59db7b0509fbaec61d07f8f9edf0
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/runtime/basrdll.cxx | 3 | ||||
-rw-r--r-- | basic/source/sbx/sbxscan.cxx | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/basic/source/runtime/basrdll.cxx b/basic/source/runtime/basrdll.cxx index 6a8b37d38326..59be1072d676 100644 --- a/basic/source/runtime/basrdll.cxx +++ b/basic/source/runtime/basrdll.cxx @@ -36,8 +36,7 @@ BasResId::BasResId( sal_uInt32 nId ) : BasicDLL::BasicDLL() { BASIC_DLL() = this; - ::com::sun::star::lang::Locale aLocale = Application::GetSettings().GetUILanguageTag().getLocale(); - pBasResMgr = ResMgr::CreateResMgr("sb", aLocale ); + pBasResMgr = ResMgr::CreateResMgr("sb", Application::GetSettings().GetUILanguageTag() ); bDebugMode = false; bBreakEnabled = true; } diff --git a/basic/source/sbx/sbxscan.cxx b/basic/source/sbx/sbxscan.cxx index 68faaf0c81f7..ff6109ee0c9c 100644 --- a/basic/source/sbx/sbxscan.cxx +++ b/basic/source/sbx/sbxscan.cxx @@ -656,8 +656,7 @@ ResMgr* implGetResMgr( void ) static ResMgr* pResMgr = NULL; if( !pResMgr ) { - ::com::sun::star::lang::Locale aLocale = Application::GetSettings().GetUILanguageTag().getLocale(); - pResMgr = ResMgr::CreateResMgr("sb", aLocale ); + pResMgr = ResMgr::CreateResMgr("sb", Application::GetSettings().GetUILanguageTag() ); } return pResMgr; } |