diff options
Diffstat (limited to 'desktop/source/app')
-rw-r--r-- | desktop/source/app/langselect.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/source/app/langselect.cxx b/desktop/source/app/langselect.cxx index 4ce877a3d926..86ce7434e6ab 100644 --- a/desktop/source/app/langselect.cxx +++ b/desktop/source/app/langselect.cxx @@ -37,6 +37,7 @@ #include <sal/log.hxx> #include <sal/types.h> #include <svl/languageoptions.hxx> +#include <svtools/langhelp.hxx> #include <app.hxx> @@ -103,7 +104,7 @@ bool prepareLocale() { } } if (locale.isEmpty()) { - locale = getInstalledLocaleForSystemUILanguage(inst); + locale = getInstalledLocaleForSystemUILanguage(inst, true); } if (locale.isEmpty()) { return false; |