[Libreoffice-commits] core.git: Branch 'libreoffice-5-4' - sd/source
Noel Grandin
noel.grandin at collabora.co.uk
Tue Jul 4 06:37:21 UTC 2017
sd/source/ui/view/drviews3.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 788a87d46a64dc9e50eb371680c883a1d274b3e1
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date: Mon Jul 3 16:04:58 2017 +0200
tdf#108609 rtl mode set on ruler when it should be ltr
regression from
commit 8ccbc16b5e3f94b8db105232d7085a8553e6bc03
"convert SvxFrameDirection to scoped enum"
Change-Id: I2063ddf4344fb41b54f2ad96a471df4d3205406d
Reviewed-on: https://gerrit.libreoffice.org/39478
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
(cherry picked from commit eb104a28daf5b17f24c95da637fc292593eea99b)
Reviewed-on: https://gerrit.libreoffice.org/39485
Tested-by: Noel Grandin <noel.grandin at collabora.co.uk>
diff --git a/sd/source/ui/view/drviews3.cxx b/sd/source/ui/view/drviews3.cxx
index ab4aaf5f6936..1bd20c345afd 100644
--- a/sd/source/ui/view/drviews3.cxx
+++ b/sd/source/ui/view/drviews3.cxx
@@ -963,7 +963,7 @@ void DrawViewShell::GetRulerState(SfxItemSet& rSet)
if( aEditAttr.GetItemState( EE_PARA_WRITINGDIR ) >= SfxItemState::DEFAULT )
{
const SvxFrameDirectionItem& rItem = static_cast<const SvxFrameDirectionItem&>( aEditAttr.Get( EE_PARA_WRITINGDIR ) );
- rSet.Put(SfxBoolItem(SID_RULER_TEXT_RIGHT_TO_LEFT, rItem.GetValue() == SvxFrameDirection::Horizontal_LR_TB));
+ rSet.Put(SfxBoolItem(SID_RULER_TEXT_RIGHT_TO_LEFT, rItem.GetValue() == SvxFrameDirection::Horizontal_RL_TB));
}
}
}
More information about the Libreoffice-commits
mailing list