diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-03-16 16:50:42 +0000 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-03-20 10:03:16 +0100 |
commit | 029ba7ac94d517143af5166df4e2dcb58b350443 (patch) | |
tree | 1b744cb7a703a55ea8d2aebbbb63c620d7592a10 /vcl/source | |
parent | 10e959e6e35421d802d8f6a3904ff96f36f7124c (diff) |
rhbz#1392145 ensure titlebar close button matches 'outside' direction
Change-Id: I20e925c58adb56acd4d1a63720d330c8b6613441
Reviewed-on: https://gerrit.libreoffice.org/51434
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/app/svmain.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/source/app/svmain.cxx b/vcl/source/app/svmain.cxx index 8f546feb5f78..63931e8f23b2 100644 --- a/vcl/source/app/svmain.cxx +++ b/vcl/source/app/svmain.cxx @@ -31,7 +31,7 @@ #include <comphelper/processfactory.hxx> #include <comphelper/asyncnotification.hxx> - +#include <i18nlangtag/mslangid.hxx> #include <unotools/syslocaleoptions.hxx> #include <vcl/svapp.hxx> #include <vcl/vclmain.hxx> @@ -335,6 +335,7 @@ bool InitVCL() OUString aLocaleString(SvtSysLocaleOptions().GetRealUILanguageTag().getGlibcLocaleString(".UTF-8")); if (!aLocaleString.isEmpty()) { + MsLangId::getSystemUILanguage(); //call this now to pin what the system UI really was OUString envVar("LANGUAGE"); osl_setEnvironment(envVar.pData, aLocaleString.pData); } |