summaryrefslogtreecommitdiff
path: root/uui
diff options
context:
space:
mode:
Diffstat (limited to 'uui')
-rw-r--r--uui/Library_uui.mk1
-rw-r--r--uui/source/iahndl-ssl.cxx2
2 files changed, 2 insertions, 1 deletions
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;