diff options
author | Noel Grandin <noel@peralex.com> | 2016-05-26 10:06:56 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-05-26 09:24:53 +0000 |
commit | cc12a1b7277f8b6651655462c38b1ed418722fcb (patch) | |
tree | e1b27dae22a8f054a6dc94c1b1e01142ae6a2add /editeng | |
parent | 9aa3086558605dbca5a738aef48178215722807c (diff) |
Convert TextDirectionality to scoped enum
Change-Id: I1046e791a73ec07be5a946c63a2256939a323e91
Reviewed-on: https://gerrit.libreoffice.org/25497
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/impedit2.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editeng/source/editeng/impedit2.cxx b/editeng/source/editeng/impedit2.cxx index 6ac1fef448dc..843bba6b98f5 100644 --- a/editeng/source/editeng/impedit2.cxx +++ b/editeng/source/editeng/impedit2.cxx @@ -750,11 +750,11 @@ EditSelection ImpEditEngine::MoveCursor( const KeyEvent& rKeyEvent, EditView* pE EditPaM aOldPaM( aPaM ); - TextDirectionality eTextDirection = TextDirectionality_LeftToRight_TopToBottom; + TextDirectionality eTextDirection = TextDirectionality::LeftToRight_TopToBottom; if ( IsVertical() ) - eTextDirection = TextDirectionality_TopToBottom_RightToLeft; + eTextDirection = TextDirectionality::TopToBottom_RightToLeft; else if ( IsRightToLeft( GetEditDoc().GetPos( aPaM.GetNode() ) ) ) - eTextDirection = TextDirectionality_RightToLeft_TopToBottom; + eTextDirection = TextDirectionality::RightToLeft_TopToBottom; KeyEvent aTranslatedKeyEvent = rKeyEvent.LogicalTextDirectionality( eTextDirection ); |