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 /sd | |
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 'sd')
-rw-r--r-- | sd/source/core/drawdoc3.cxx | 6 | ||||
-rw-r--r-- | sd/source/core/stlpool.cxx | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/sd/source/core/drawdoc3.cxx b/sd/source/core/drawdoc3.cxx index 91e833156256..8d6b3976cada 100644 --- a/sd/source/core/drawdoc3.cxx +++ b/sd/source/core/drawdoc3.cxx @@ -1511,8 +1511,6 @@ void SdDrawDocument::SetMasterPage(sal_uInt16 nSdPageNum, // only worry about presentation templates OUString aName; SdStyleSheetPool* pSourceStyleSheetPool = static_cast<SdStyleSheetPool*>( pSourceDoc->GetStyleSheetPool() ); - pSourceStyleSheetPool->SetSearchMask(SfxStyleFamily::Page); - static_cast<SdStyleSheetPool*>( mxStyleSheetPool.get())->SetSearchMask(SfxStyleFamily::Page); StyleSheetCopyResultVector aCreatedStyles; // List of created stylesheets SfxStyleSheetBase* pHisSheet = pSourceStyleSheetPool->First(SfxStyleFamily::Page); @@ -1604,10 +1602,6 @@ void SdDrawDocument::SetMasterPage(sal_uInt16 nSdPageNum, } } } - - // Now look for all of them when searching - pSourceStyleSheetPool->SetSearchMask(SfxStyleFamily::All); - mxStyleSheetPool->SetSearchMask(SfxStyleFamily::All); } if (bUndo && !aCreatedStyles.empty()) diff --git a/sd/source/core/stlpool.cxx b/sd/source/core/stlpool.cxx index 93fbda2d55ae..e5f1ddf8cf7a 100644 --- a/sd/source/core/stlpool.cxx +++ b/sd/source/core/stlpool.cxx @@ -872,7 +872,6 @@ void SdStyleSheetPool::CreatePseudosIfNecessary() pSheet->SetHelpId( aHelpFile, HID_PSEUDOSHEET_NOTES ); pParent = nullptr; - SetSearchMask(SfxStyleFamily::Pseudo); aName = SdResId(STR_PSEUDOSHEET_OUTLINE); for (sal_Int32 nLevel = 1; nLevel < 10; nLevel++) { |