summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-11-18 10:15:15 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-11-18 11:15:48 +0100
commitefab55fee25c5a2f5a0c491c1ceab721c267af17 (patch)
treed5f940a88be60d9ad4df818167b3aeea723dc694 /svx
parentba637bbbd65d71a3956d56f04ce2703b51479700 (diff)
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 <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/dialog/srchdlg.cxx8
1 files changed, 4 insertions, 4 deletions
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<uno::Any> aAnySeq = xGetAccFlowTo->getAccFlowTo(Any(GetSrchFlag()), eFlowTo);
+ uno::Sequence<uno::Any> aAnySeq = xGetAccFlowTo->getAccFlowTo(Any(GetSrchFlag()), static_cast<sal_Int32>(eFlowTo));
sal_Int32 nLen = aAnySeq.getLength();
if (nLen)