diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-05-03 17:11:24 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-05-03 21:28:50 +0200 |
commit | e3517eefed2d4767648cb52d4a9863908cadc3d8 (patch) | |
tree | 99178f66fbedd74e7c7daa7f9bcb0e2cb2ac09b2 /sd | |
parent | 454a3c945fdc02d706b0a5ad49ca13e0443fa8e5 (diff) |
Related: tdf#130108 expand single arg SfxStyleSheetBasePool::Find uses
remove it and expand its uses to explicitly show what it does
Change-Id: I2d4511c58b51003c327a2c70e3cc4f60751f520d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93352
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/core/drawdoc3.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/core/drawdoc3.cxx b/sd/source/core/drawdoc3.cxx index 4e2c364f3c53..95d530155309 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); - SfxStyleSheetBase* pSNew = mxStyleSheetPool->Find(rRData.aNewName); + SfxStyleSheetBase* pSOld = mxStyleSheetPool->Find(rRData.aName, mxStyleSheetPool->GetSearchFamily(), mxStyleSheetPool->GetSearchMask()); + SfxStyleSheetBase* pSNew = mxStyleSheetPool->Find(rRData.aNewName, mxStyleSheetPool->GetSearchFamily(), mxStyleSheetPool->GetSearchMask()); if (pSOld && pSNew) { |