[Libreoffice-commits] core.git: cui/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Tue Sep 24 15:12:59 UTC 2019
cui/source/tabpages/paragrph.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit a53bad1909ba3571453f0e7281f4b435084e18f0
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Sep 24 10:34:34 2019 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Sep 24 17:11:34 2019 +0200
get environment RTL mode without vcl::Window
Change-Id: Iec6ffe6e5012b6853b4190f3172cbb9b0d0cc913
Reviewed-on: https://gerrit.libreoffice.org/79451
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/cui/source/tabpages/paragrph.cxx b/cui/source/tabpages/paragrph.cxx
index e5117feb6f02..9ab9b5261720 100644
--- a/cui/source/tabpages/paragrph.cxx
+++ b/cui/source/tabpages/paragrph.cxx
@@ -22,6 +22,7 @@
#include <svl/style.hxx>
#include <sfx2/objsh.hxx>
#include <vcl/mnemonic.hxx>
+#include <vcl/settings.hxx>
#include <svx/flagsdef.hxx>
#include <svx/svxids.hrc>
@@ -1307,7 +1308,7 @@ void SvxParaAlignTabPage::UpdateExample_Impl()
{
case SvxFrameDirection::Environment :
if ( !m_xRight->get_active() )
- m_aExampleWin.EnableRTL( IsRTLEnabled() /*false*/ );
+ m_aExampleWin.EnableRTL( AllSettings::GetLayoutRTL() );
break;
case SvxFrameDirection::Horizontal_RL_TB :
if ( !m_xLeft->get_active() )
More information about the Libreoffice-commits
mailing list