diff options
author | Eike Rathke <erack@redhat.com> | 2012-11-22 12:26:52 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2012-11-22 12:34:59 +0100 |
commit | 9955dbebbdf1b7d36fec272dfea46f57fab47e19 (patch) | |
tree | 80705ccc2382e7440ea76f62a544d64d12d1ce4f /formula | |
parent | 9c5d6ea5efb5f56a4ac96b4a8505ed84abbbc6bf (diff) |
AllSettings with LanguageTag
Change-Id: I710ae66e51139662eb442b681fdf9cc9d158551d
Diffstat (limited to 'formula')
-rw-r--r-- | formula/Library_for.mk | 1 | ||||
-rw-r--r-- | formula/source/core/resource/core_resource.cxx | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/formula/Library_for.mk b/formula/Library_for.mk index 848103af2e7c..1bbd199d8d5f 100644 --- a/formula/Library_for.mk +++ b/formula/Library_for.mk @@ -47,6 +47,7 @@ $(eval $(call gb_Library_use_libraries,for,\ cppu \ cppuhelper \ sal \ + i18nisolang1 \ svl \ svt \ tl \ diff --git a/formula/source/core/resource/core_resource.cxx b/formula/source/core/resource/core_resource.cxx index 9b2971946148..63279d2db7ff 100644 --- a/formula/source/core/resource/core_resource.cxx +++ b/formula/source/core/resource/core_resource.cxx @@ -47,7 +47,7 @@ namespace formula if (m_pImpl) return; - ::com::sun::star::lang::Locale aLocale = Application::GetSettings().GetUILocale(); + ::com::sun::star::lang::Locale aLocale = Application::GetSettings().GetUILanguageTag().getLocale(); m_pImpl = ResMgr::CreateResMgr("for", aLocale); } |