vcl/source/app/settings.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
New commits: commit addd1c34502b959e329354d73808c222986d4b74 Author: Caolán McNamara <caol...@redhat.com> Date: Mon Oct 2 21:18:09 2017 +0100 Resolves: tdf#112827 gtk3 menubar not RTL under RTL locales Change-Id: Icb2fa621e1f7da1e2d4bd221c8e1d8677cc956a2 Reviewed-on: https://gerrit.libreoffice.org/43057 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> 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
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits