summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-05-03 20:03:39 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-05-04 17:46:20 +0200
commit322d8e516b81671c097717f406e821f8edf7f39b (patch)
treed43b24a0b03e0d0fb490590d974d3dd3fa819b99 /sd/source
parent49f26e7dae550aff6ca90b3cda7f89e11ac8cfd4 (diff)
for these we know what the SearchFamily and GetSearchMask are already
Change-Id: If12f144bb4e9d02a5caafc5ea64dd1dc7b8b5709 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93355 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/core/drawdoc3.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/core/drawdoc3.cxx b/sd/source/core/drawdoc3.cxx
index 95d530155309..fc4a1fd548b3 100644
--- a/sd/source/core/drawdoc3.cxx
+++ b/sd/source/core/drawdoc3.cxx
@@ -1584,8 +1584,8 @@ void SdDrawDocument::SetMasterPage(sal_uInt16 nSdPageNum,
{
for ( const auto& rRData : aReplList )
{
- SfxStyleSheetBase* pSOld = mxStyleSheetPool->Find(rRData.aName, mxStyleSheetPool->GetSearchFamily(), mxStyleSheetPool->GetSearchMask());
- SfxStyleSheetBase* pSNew = mxStyleSheetPool->Find(rRData.aNewName, mxStyleSheetPool->GetSearchFamily(), mxStyleSheetPool->GetSearchMask());
+ SfxStyleSheetBase* pSOld = mxStyleSheetPool->Find(rRData.aName, SfxStyleFamily::Page);
+ SfxStyleSheetBase* pSNew = mxStyleSheetPool->Find(rRData.aNewName, SfxStyleFamily::Page);
if (pSOld && pSNew)
{