summaryrefslogtreecommitdiff
path: root/sw/source/uibase/shells/txtcrsr.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2015-05-20 21:10:50 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-06-04 07:13:15 +0000
commit3d30077af27c8a6e91fb91175e6d2ea9a6f03d11 (patch)
treef0138734999835a0ebd342f87d5517017390de21 /sw/source/uibase/shells/txtcrsr.cxx
parent849278b952a3886f0196aac32f6fcf0c7ae72806 (diff)
convert GOTOOBJ constants to scoped enum
Change-Id: I2f44e780c7250cdbf40fde8779beb81f29498f8b Reviewed-on: https://gerrit.libreoffice.org/16071 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sw/source/uibase/shells/txtcrsr.cxx')
-rw-r--r--sw/source/uibase/shells/txtcrsr.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/shells/txtcrsr.cxx b/sw/source/uibase/shells/txtcrsr.cxx
index 61a45da1d28f..40680ef2a0c1 100644
--- a/sw/source/uibase/shells/txtcrsr.cxx
+++ b/sw/source/uibase/shells/txtcrsr.cxx
@@ -333,7 +333,7 @@ void SwTextShell::ExecMoveMisc(SfxRequest &rReq)
if ( !pFilter.get() )
break;
- const SdrObject* pNearestControl = rSh.GetBestObject( true, GOTOOBJ_DRAW_CONTROL, false, pFilter.get() );
+ const SdrObject* pNearestControl = rSh.GetBestObject( true, GotoObjFlags::DrawControl, false, pFilter.get() );
if ( !pNearestControl )
break;
@@ -346,7 +346,7 @@ void SwTextShell::ExecMoveMisc(SfxRequest &rReq)
}
break;
case FN_CNTNT_TO_NEXT_FRAME:
- bRet = rSh.GotoObj(true, GOTOOBJ_GOTO_ANY);
+ bRet = rSh.GotoObj(true, GotoObjFlags::Any);
if(bRet)
{
rSh.HideCrsr();