summaryrefslogtreecommitdiff
path: root/editeng/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-02-27 10:08:03 +0200
committerNoel Grandin <noel@peralex.com>2015-03-02 08:59:18 +0200
commit3c866bb8e42554ac96d3588208e167e7786e2d00 (patch)
tree9214124ed0b7d8274c5609725ed72a97466bbfce /editeng/source
parentf9ba16e44b2813dd1fc9b0e06994f67c6350f050 (diff)
replace SVX_SEARCHCMD_ constants with enum class
Change-Id: I675c488742219cc19624a21d1fc8e5033e7cbefa
Diffstat (limited to 'editeng/source')
-rw-r--r--editeng/source/editeng/impedit4.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/editeng/source/editeng/impedit4.cxx b/editeng/source/editeng/impedit4.cxx
index b375a58cc15a..f843a6308763 100644
--- a/editeng/source/editeng/impedit4.cxx
+++ b/editeng/source/editeng/impedit4.cxx
@@ -2516,13 +2516,13 @@ sal_Int32 ImpEditEngine::StartSearchAndReplace( EditView* pEditView, const SvxSe
EditSelection aCurSel( pEditView->pImpEditView->GetEditSelection() );
// FIND_ALL is not possible without multiple selection.
- if ( ( rSearchItem.GetCommand() == SVX_SEARCHCMD_FIND ) ||
- ( rSearchItem.GetCommand() == SVX_SEARCHCMD_FIND_ALL ) )
+ if ( ( rSearchItem.GetCommand() == SvxSearchCmd::FIND ) ||
+ ( rSearchItem.GetCommand() == SvxSearchCmd::FIND_ALL ) )
{
if ( Search( rSearchItem, pEditView ) )
nFound++;
}
- else if ( rSearchItem.GetCommand() == SVX_SEARCHCMD_REPLACE )
+ else if ( rSearchItem.GetCommand() == SvxSearchCmd::REPLACE )
{
// The word is selected if the user not altered the selection
// in between:
@@ -2535,7 +2535,7 @@ sal_Int32 ImpEditEngine::StartSearchAndReplace( EditView* pEditView, const SvxSe
if( Search( rSearchItem, pEditView ) )
nFound = 1;
}
- else if ( rSearchItem.GetCommand() == SVX_SEARCHCMD_REPLACE_ALL )
+ else if ( rSearchItem.GetCommand() == SvxSearchCmd::REPLACE_ALL )
{
// The Writer replaces all front beginning to end ...
SvxSearchItem aTmpItem( rSearchItem );