diff options
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++) { |