summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
Diffstat (limited to 'basic')
-rw-r--r--basic/source/runtime/basrdll.cxx3
-rw-r--r--basic/source/sbx/sbxscan.cxx3
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;
}