diff options
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/srchdlg.cxx | 2 | ||||
-rw-r--r-- | svx/source/tbxctrls/tbcontrl.cxx | 5 |
2 files changed, 0 insertions, 7 deletions
diff --git a/svx/source/dialog/srchdlg.cxx b/svx/source/dialog/srchdlg.cxx index 6e974372f80a..371bac5c75cf 100644 --- a/svx/source/dialog/srchdlg.cxx +++ b/svx/source/dialog/srchdlg.cxx @@ -906,7 +906,6 @@ void SvxSearchDialog::Init_Impl( bool bSearchPattern ) m_xSearchTmplLB->clear(); m_xReplaceTmplLB->clear(); SfxStyleSheetBasePool* pStylePool = pShell->GetStyleSheetPool(); - pStylePool->SetSearchMask( pSearchItem->GetFamily() ); SfxStyleSheetBase* pBase = pStylePool->First(pSearchItem->GetFamily()); while ( pBase ) @@ -1596,7 +1595,6 @@ void SvxSearchDialog::TemplatesChanged_Impl( SfxStyleSheetBasePool& rPool ) OUString aOldRepl( m_xReplaceTmplLB->get_active_text() ); m_xSearchTmplLB->clear(); m_xReplaceTmplLB->clear(); - rPool.SetSearchMask( pSearchItem->GetFamily() ); m_xSearchTmplLB->freeze(); m_xReplaceTmplLB->freeze(); SfxStyleSheetBase* pBase = rPool.First(pSearchItem->GetFamily()); diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx index 883ddbf83143..ce6a935c4714 100644 --- a/svx/source/tbxctrls/tbcontrl.cxx +++ b/svx/source/tbxctrls/tbcontrl.cxx @@ -970,8 +970,6 @@ void SvxStyleBox_Base::Select(bool bNonTravelSelect) if ( pPool ) { - pPool->SetSearchMask( eStyleFamily ); - pStyle = pPool->First(eStyleFamily); while ( pStyle && pStyle->GetName() != aSearchEntry ) pStyle = pPool->Next(); @@ -1141,8 +1139,6 @@ void SvxStyleBox_Base::SetupEntry(vcl::RenderContext& rRenderContext, sal_Int32 if ( pPool ) { - pPool->SetSearchMask( eStyleFamily ); - pStyle = pPool->First(eStyleFamily); while (pStyle && pStyle->GetName() != rStyleName) pStyle = pPool->Next(); @@ -2756,7 +2752,6 @@ void SvxStyleToolBoxControl::FillStyleBox() SfxStyleSheetBase* pStyle = nullptr; bool bDoFill = false; - pStyleSheetPool->SetSearchMask( eFamily, SfxStyleSearchBits::Used ); auto xIter = pStyleSheetPool->CreateIterator(eFamily, SfxStyleSearchBits::Used); sal_uInt16 nCount = xIter->Count(); |