diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-05-05 15:18:40 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-05-05 20:15:02 +0200 |
commit | ebcd29ab3b16ab93a523122a672c5f08fcbce4a0 (patch) | |
tree | 61be5bcdb9de6f386d6ca0ada7d30ebabafa36dd /svx/source/tbxctrls/tbcontrl.cxx | |
parent | f572f4f5e8ea3058b85c8aed7ee2647e4362de74 (diff) |
remove unused nSearchFamily and nMask members
and so SetSearchMask which doesn't have any effect anymore
Change-Id: I0b7f402ce0317971d5196fc448fe2945a6a292f5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93393
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx/source/tbxctrls/tbcontrl.cxx')
-rw-r--r-- | svx/source/tbxctrls/tbcontrl.cxx | 5 |
1 files changed, 0 insertions, 5 deletions
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(); |