diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-07 17:06:34 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-05-12 06:13:30 +0000 |
commit | 3fd5f8919ec2256c70ff26c14cb9f8065c5cb2f1 (patch) | |
tree | b1d9a0dbb11d23899ccf53b790ddd445b8585a38 /sw | |
parent | 0c129aa3df35a056ec739579002b2fc958fb3a48 (diff) |
convert CURSOR_DIRECTION constants to scoped enum
Change-Id: I444c61d0073b12740b55e316b2bb6e34f59dfe21
Reviewed-on: https://gerrit.libreoffice.org/15675
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/crsr/viscrs.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/crsr/viscrs.cxx b/sw/source/core/crsr/viscrs.cxx index b30639d237df..991c5548612b 100644 --- a/sw/source/core/crsr/viscrs.cxx +++ b/sw/source/core/crsr/viscrs.cxx @@ -128,7 +128,7 @@ void SwVisCrsr::_SetPosAndShow() } // check if cursor should show the current cursor bidi level - m_aTxtCrsr.SetDirection( CURSOR_DIRECTION_NONE ); + m_aTxtCrsr.SetDirection( CursorDirection::NONE ); const SwCursor* pTmpCrsr = m_pCrsrShell->_GetCrsr(); if ( pTmpCrsr && !m_pCrsrShell->IsOverwriteCrsr() ) @@ -146,8 +146,8 @@ void SwVisCrsr::_SetPosAndShow() { m_aTxtCrsr.SetDirection( ( pTmpCrsr->GetCrsrBidiLevel() % 2 ) ? - CURSOR_DIRECTION_RTL : - CURSOR_DIRECTION_LTR ); + CursorDirection::RTL : + CursorDirection::LTR ); } if ( pFrm->IsRightToLeft() ) { |