diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-11 08:42:40 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-11 09:48:18 +0200 |
commit | 3553a5d3a899954c4db09e264d8faf07e817e564 (patch) | |
tree | 15f5d78ebe53ed498536c2d518a4cc2ad195c072 /svx/source/dialog/srchdlg.cxx | |
parent | e624c13cf1732f42d2da212b1b96aa9de7dd66cf (diff) |
loplugin: defaultparams
Change-Id: I513643385dc0a04b68c5cf4a5f43aa0804e572e6
Diffstat (limited to 'svx/source/dialog/srchdlg.cxx')
-rw-r--r-- | svx/source/dialog/srchdlg.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/svx/source/dialog/srchdlg.cxx b/svx/source/dialog/srchdlg.cxx index 124d545b62b0..de7672f1ee79 100644 --- a/svx/source/dialog/srchdlg.cxx +++ b/svx/source/dialog/srchdlg.cxx @@ -928,8 +928,7 @@ void SvxSearchDialog::Init_Impl( bool bSearchPattern ) m_pSearchTmplLB->Clear(); m_pReplaceTmplLB->Clear(); SfxStyleSheetBasePool* pStylePool = pShell->GetStyleSheetPool(); - pStylePool->SetSearchMask( pSearchItem->GetFamily(), - SFXSTYLEBIT_ALL ); + pStylePool->SetSearchMask( pSearchItem->GetFamily() ); SfxStyleSheetBase* pBase = pStylePool->First(); while ( pBase ) @@ -1559,7 +1558,7 @@ void SvxSearchDialog::TemplatesChanged_Impl( SfxStyleSheetBasePool& rPool ) OUString aOldRepl( m_pReplaceTmplLB->GetSelectEntry() ); m_pSearchTmplLB->Clear(); m_pReplaceTmplLB->Clear(); - rPool.SetSearchMask( pSearchItem->GetFamily(), SFXSTYLEBIT_ALL ); + rPool.SetSearchMask( pSearchItem->GetFamily() ); m_pSearchTmplLB->SetUpdateMode( false ); m_pReplaceTmplLB->SetUpdateMode( false ); SfxStyleSheetBase* pBase = rPool.First(); |