summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/objcont.cxx
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 /sfx2/source/doc/objcont.cxx
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 'sfx2/source/doc/objcont.cxx')
-rw-r--r--sfx2/source/doc/objcont.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/sfx2/source/doc/objcont.cxx b/sfx2/source/doc/objcont.cxx
index b1ee8eca0bf7..3055a52cc3d0 100644
--- a/sfx2/source/doc/objcont.cxx
+++ b/sfx2/source/doc/objcont.cxx
@@ -313,7 +313,6 @@ void SfxObjectShell::LoadStyles
DBG_ASSERT(pSourcePool, "Source-DocumentShell without StyleSheetPool");
SfxStyleSheetBasePool *pMyPool = GetStyleSheetPool();
DBG_ASSERT(pMyPool, "Dest-DocumentShell without StyleSheetPool");
- pSourcePool->SetSearchMask(SfxStyleFamily::All);
auto xIter = pSourcePool->CreateIterator(SfxStyleFamily::All);
std::unique_ptr<Styles_Impl[]> pFound(new Styles_Impl[xIter->Count()]);
sal_uInt16 nFound = 0;