From efab55fee25c5a2f5a0c491c1ceab721c267af17 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 18 Nov 2019 10:15:15 +0200 Subject: convert AccessibilityFlowTo to scoped enum and drop the unused FORSPELLCHECKFLOWTO Change-Id: I128e84d386c10d001aa63f93b4b6dcb7238a1242 Reviewed-on: https://gerrit.libreoffice.org/83060 Tested-by: Jenkins Reviewed-by: Noel Grandin --- svx/source/dialog/srchdlg.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'svx/source/dialog') diff --git a/svx/source/dialog/srchdlg.cxx b/svx/source/dialog/srchdlg.cxx index b971f1f94038..92fa6a1603ee 100644 --- a/svx/source/dialog/srchdlg.cxx +++ b/svx/source/dialog/srchdlg.cxx @@ -2310,19 +2310,19 @@ void SvxSearchDialog::SetDocWin(vcl::Window* pDocWin, SvxSearchCmd eCommand) But with search/all we do want the new multi-cellselection as the result. */ - AccessibilityFlowTo eFlowTo(AccessibilityFlowTo::FORFINDREPLACEFLOWTO_ITEM); + AccessibilityFlowTo eFlowTo(AccessibilityFlowTo::ForFindReplaceItem); switch (eCommand) { case SvxSearchCmd::FIND: case SvxSearchCmd::REPLACE: - eFlowTo = AccessibilityFlowTo::FORFINDREPLACEFLOWTO_ITEM; + eFlowTo = AccessibilityFlowTo::ForFindReplaceItem; break; case SvxSearchCmd::FIND_ALL: case SvxSearchCmd::REPLACE_ALL: - eFlowTo = AccessibilityFlowTo::FORFINDREPLACEFLOWTO_RANGE; + eFlowTo = AccessibilityFlowTo::ForFindReplaceRange; break; } - uno::Sequence aAnySeq = xGetAccFlowTo->getAccFlowTo(Any(GetSrchFlag()), eFlowTo); + uno::Sequence aAnySeq = xGetAccFlowTo->getAccFlowTo(Any(GetSrchFlag()), static_cast(eFlowTo)); sal_Int32 nLen = aAnySeq.getLength(); if (nLen) -- cgit