diff options
author | Noel Grandin <noel@peralex.com> | 2015-02-27 11:05:01 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-03-02 08:59:18 +0200 |
commit | c9c1caa4f9ad955ae864aa2681f890c7706daad1 (patch) | |
tree | 2813ecae7c8a4ecd1362fa1d258c76443694f909 /svx | |
parent | 10bc10dd20520a72d030be429798d0cc19466fb5 (diff) |
convert SVX_SEARCHAPP_ constants to enum class
Change-Id: I2b9d379e56e0af655aa06afb5391140de952b9d6
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/srchdlg.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/dialog/srchdlg.cxx b/svx/source/dialog/srchdlg.cxx index 943ac9b66c86..a493b6b13f87 100644 --- a/svx/source/dialog/srchdlg.cxx +++ b/svx/source/dialog/srchdlg.cxx @@ -725,7 +725,7 @@ void SvxSearchDialog::Init_Impl( bool bSearchPattern ) ToggleSaveToModule aNoModuleSave(*this, false); SvtSearchOptions aOpt; - bWriter = ( pSearchItem->GetAppFlag() == SVX_SEARCHAPP_WRITER ); + bWriter = ( pSearchItem->GetAppFlag() == SvxSearchApp::WRITER ); if ( ( nModifyFlag & MODIFY_WORD ) == 0 ) m_pWordBtn->Check( pSearchItem->GetWordOnly() ); @@ -755,7 +755,7 @@ void SvxSearchDialog::Init_Impl( bool bSearchPattern ) ShowOptionalControls_Impl(); bool bDraw = false; - if ( pSearchItem->GetAppFlag() == SVX_SEARCHAPP_CALC ) + if ( pSearchItem->GetAppFlag() == SvxSearchApp::CALC ) { m_pCalcGrid->Show(); Link aLink = LINK( this, SvxSearchDialog, FlagHdl_Impl ); @@ -802,7 +802,7 @@ void SvxSearchDialog::Init_Impl( bool bSearchPattern ) { m_pWordBtn->SetText( aCalcStr.getToken( 1, '#' ) ); - if ( pSearchItem->GetAppFlag() == SVX_SEARCHAPP_DRAW ) + if ( pSearchItem->GetAppFlag() == SvxSearchApp::DRAW ) { m_pSearchAllBtn->Hide(); @@ -1351,7 +1351,7 @@ IMPL_LINK( SvxSearchDialog, ModifyHdl_Impl, ComboBox *, pEd ) bSet = false; // Calc allows searching for empty cells. - bool bAllowEmptySearch = (pSearchItem->GetAppFlag() == SVX_SEARCHAPP_CALC); + bool bAllowEmptySearch = (pSearchItem->GetAppFlag() == SvxSearchApp::CALC); if ( pEd == m_pSearchLB || pEd == m_pReplaceLB ) { |