diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-09-24 10:34:34 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-09-24 17:11:34 +0200 |
commit | a53bad1909ba3571453f0e7281f4b435084e18f0 (patch) | |
tree | 9eae1cd4490d4bb680e96b0d4a7c2498bd6da818 | |
parent | 435023376b7f07c974fa348782cff058f60ceba3 (diff) |
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@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | cui/source/tabpages/paragrph.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
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() ) |