diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-10-02 21:18:09 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-10-03 11:03:35 +0200 |
commit | addd1c34502b959e329354d73808c222986d4b74 (patch) | |
tree | e9be2a6e926b1d0f2305fcd7fdd010dc2d75dbb8 | |
parent | d352dda3dbfc9e26b7f80746e1502f3cb4cd45c1 (diff) |
Resolves: tdf#112827 gtk3 menubar not RTL under RTL locales
Change-Id: Icb2fa621e1f7da1e2d4bd221c8e1d8677cc956a2
Reviewed-on: https://gerrit.libreoffice.org/43057
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | vcl/source/app/settings.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/vcl/source/app/settings.cxx b/vcl/source/app/settings.cxx index ebf5cb50104c..54d03cc0ae6a 100644 --- a/vcl/source/app/settings.cxx +++ b/vcl/source/app/settings.cxx @@ -2845,10 +2845,7 @@ namespace if( nUIMirroring == 0 ) // no config found (eg, setup) or default (nil) was set: check language { - LanguageType aLang = LANGUAGE_DONTKNOW; - ImplSVData* pSVData = ImplGetSVData(); - if ( pSVData->maAppData.mpSettings ) - aLang = pSVData->maAppData.mpSettings->GetUILanguageTag().getLanguageType(); + LanguageType aLang = SvtSysLocaleOptions().GetRealUILanguageTag().getLanguageType(); if (bMath) bRTL = MsLangId::isRightToLeftMath( aLang ); else |