From 3fd5f8919ec2256c70ff26c14cb9f8065c5cb2f1 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 7 May 2015 17:06:34 +0200 Subject: convert CURSOR_DIRECTION constants to scoped enum Change-Id: I444c61d0073b12740b55e316b2bb6e34f59dfe21 Reviewed-on: https://gerrit.libreoffice.org/15675 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sw/source/core/crsr/viscrs.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sw') 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() ) { -- cgit