summaryrefslogtreecommitdiff
path: root/vcl/source/window/builder.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/window/builder.cxx')
-rw-r--r--vcl/source/window/builder.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index e2fcca66d36c..463dad0187e4 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -132,7 +132,7 @@ VclBuilder::VclBuilder(Window *pParent, OUString sUIDir, OUString sUIFile, OStri
OUString sUri = sUIDir + sUIFile;
- com::sun::star::lang::Locale aLocale = Application::GetSettings().GetUILocale();
+ com::sun::star::lang::Locale aLocale = Application::GetSettings().GetUILanguageTag().getLocale();
bool bEN_US = aLocale.Language == "en" && aLocale.Country == "US" && aLocale.Variant.isEmpty();
if (!bEN_US)
loadTranslations(aLocale, sUri);