summaryrefslogtreecommitdiff
path: root/sw/source/uibase/wrtsh
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-30 12:35:42 +0200
committerNoel Grandin <noel@peralex.com>2016-08-31 10:00:07 +0200
commit7bf9abffb69966882feecca4b35a04722e5b7822 (patch)
tree53736730de90f3167fc264a7133c9c36e079b743 /sw/source/uibase/wrtsh
parent8b52d4e73a06d433d128d61a4939e92e4a497d71 (diff)
convert FindRanges to o3tl::typed_flags_set
Change-Id: I745b2f469e44b79a06a18bc5264aae75b096835c
Diffstat (limited to 'sw/source/uibase/wrtsh')
-rw-r--r--sw/source/uibase/wrtsh/select.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/uibase/wrtsh/select.cxx b/sw/source/uibase/wrtsh/select.cxx
index 90e5c98b0f0b..4998aa9eb91f 100644
--- a/sw/source/uibase/wrtsh/select.cxx
+++ b/sw/source/uibase/wrtsh/select.cxx
@@ -214,7 +214,7 @@ sal_uLong SwWrtShell::SearchPattern( const SearchOptions2& rSearchOpt, bool bSea
FindRanges eFlags, bool bReplace )
{
// no enhancement of existing selections
- if(!(eFlags & FND_IN_SEL))
+ if(!(eFlags & FindRanges::InSel))
ClearMark();
bool bCancel = false;
sal_uLong nRet = Find( rSearchOpt, bSearchInNotes, eStt, eEnd, bCancel, eFlags, bReplace );
@@ -233,7 +233,7 @@ sal_uLong SwWrtShell::SearchTempl( const OUString &rTempl,
FindRanges eFlags, const OUString* pReplTempl )
{
// no enhancement of existing selections
- if(!(eFlags & FND_IN_SEL))
+ if(!(eFlags & FindRanges::InSel))
ClearMark();
SwTextFormatColl *pColl = GetParaStyle(rTempl, SwWrtShell::GETSTYLE_CREATESOME);
SwTextFormatColl *pReplaceColl = nullptr;
@@ -259,7 +259,7 @@ sal_uLong SwWrtShell::SearchAttr( const SfxItemSet& rFindSet, bool bNoColls,
const SfxItemSet* pReplaceSet )
{
// no enhancement of existing selections
- if (!(eFlags & FND_IN_SEL))
+ if (!(eFlags & FindRanges::InSel))
ClearMark();
// Searching