summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-05-05 15:18:40 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-05-05 20:15:02 +0200
commitebcd29ab3b16ab93a523122a672c5f08fcbce4a0 (patch)
tree61be5bcdb9de6f386d6ca0ada7d30ebabafa36dd /svl
parentf572f4f5e8ea3058b85c8aed7ee2647e4362de74 (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')
-rw-r--r--svl/source/items/style.cxx13
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,