From 9955dbebbdf1b7d36fec272dfea46f57fab47e19 Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Thu, 22 Nov 2012 12:26:52 +0100 Subject: AllSettings with LanguageTag Change-Id: I710ae66e51139662eb442b681fdf9cc9d158551d --- uui/Library_uui.mk | 1 + uui/source/iahndl-ssl.cxx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'uui') diff --git a/uui/Library_uui.mk b/uui/Library_uui.mk index 69335bf0ad26..bc075f99ae1a 100644 --- a/uui/Library_uui.mk +++ b/uui/Library_uui.mk @@ -37,6 +37,7 @@ $(eval $(call gb_Library_use_libraries,uui,\ cppu \ cppuhelper \ sal \ + i18nisolang1 \ svl \ svt \ tk \ diff --git a/uui/source/iahndl-ssl.cxx b/uui/source/iahndl-ssl.cxx index 029c83ad7868..5f220a4d9626 100644 --- a/uui/source/iahndl-ssl.cxx +++ b/uui/source/iahndl-ssl.cxx @@ -113,7 +113,7 @@ getLocalizedDatTimeStr( aDate = Date( rDateTime.Day, rDateTime.Month, rDateTime.Year ); aTime = Time( rDateTime.Hours, rDateTime.Minutes, rDateTime.Seconds ); - LanguageType eUILang = Application::GetSettings().GetUILanguage(); + LanguageType eUILang = Application::GetSettings().GetUILanguageTag().getLanguageType(); SvNumberFormatter *pNumberFormatter = new SvNumberFormatter( xServiceFactory, eUILang ); String aTmpStr; -- cgit