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 /svl/source/items | |
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 'svl/source/items')
-rw-r--r-- | svl/source/items/style.cxx | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/svl/source/items/style.cxx b/svl/source/items/style.cxx index 17266a5b809a..db0ee8d4242b 100644 --- a/svl/source/items/style.cxx +++ b/svl/source/items/style.cxx @@ -556,9 +556,7 @@ SfxStyleSheetIterator& SfxStyleSheetBasePool::GetIterator_Impl(SfxStyleFamily eF SfxStyleSheetBasePool::SfxStyleSheetBasePool( SfxItemPool& r ) : pImpl(new SfxStyleSheetBasePool_Impl), - rPool(r), - nSearchFamily(SfxStyleFamily::Para), - nMask(SfxStyleSearchBits::All) + rPool(r) { #ifdef DBG_UTIL aDbgStyleSheetReferences.mnPools++; @@ -569,9 +567,7 @@ SfxStyleSheetBasePool::SfxStyleSheetBasePool( const SfxStyleSheetBasePool& r ) : SfxBroadcaster( r ), comphelper::OWeakTypeObject(r), pImpl(new SfxStyleSheetBasePool_Impl), - rPool(r.rPool), - nSearchFamily(r.nSearchFamily), - nMask( r.nMask ) + rPool(r.rPool) { #ifdef DBG_UTIL aDbgStyleSheetReferences.mnPools++; @@ -601,11 +597,6 @@ bool SfxStyleSheetBasePool::SetParent(SfxStyleFamily eFam, const OUString& rStyl return false; } -void SfxStyleSheetBasePool::SetSearchMask(SfxStyleFamily eFam, SfxStyleSearchBits n) -{ - nSearchFamily = eFam; nMask = n; -} - std::unique_ptr<SfxStyleSheetIterator> SfxStyleSheetBasePool::CreateIterator ( SfxStyleFamily eFam, |