summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk/fpicker
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/unx/gtk/fpicker')
-rw-r--r--vcl/unx/gtk/fpicker/SalGtkPicker.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/unx/gtk/fpicker/SalGtkPicker.cxx b/vcl/unx/gtk/fpicker/SalGtkPicker.cxx
index 15e29b10405e..2481e314c9d5 100644
--- a/vcl/unx/gtk/fpicker/SalGtkPicker.cxx
+++ b/vcl/unx/gtk/fpicker/SalGtkPicker.cxx
@@ -187,7 +187,8 @@ void SalGtkPicker::setGtkLanguage()
if (bSet)
return;
- ::com::sun::star::lang::Locale aLocale = Application::GetSettings().GetUILocale();
+ /* FIXME-BCP47: let LanguageTag create glibc locale string! */
+ ::com::sun::star::lang::Locale aLocale = Application::GetSettings().GetUILanguageTag().getLocale();
rtl::OUStringBuffer aBuffer;
aBuffer.append( aLocale.Language );
aBuffer.appendAscii( "_" );