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 /sc | |
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 'sc')
-rw-r--r-- | sc/source/filter/excel/xeextlst.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/filter/excel/xeextlst.cxx b/sc/source/filter/excel/xeextlst.cxx index a034472b8bb1..0b2efd97ef22 100644 --- a/sc/source/filter/excel/xeextlst.cxx +++ b/sc/source/filter/excel/xeextlst.cxx @@ -152,7 +152,8 @@ XclExpExtCF::XclExpExtCF( const XclExpRoot& rRoot, const ScCondFormatEntry& rFor void XclExpExtCF::SaveXml( XclExpXmlStream& rStrm ) { OUString aStyleName = mrFormat.GetStyle(); - SfxStyleSheetBase* pStyle = GetDoc().GetStyleSheetPool()->Find(aStyleName); + SfxStyleSheetBasePool* pPool = GetDoc().GetStyleSheetPool(); + SfxStyleSheetBase* pStyle = pPool->Find(aStyleName, pPool->GetSearchFamily(), pPool->GetSearchMask()); SfxItemSet& rSet = pStyle->GetItemSet(); std::unique_ptr<ScTokenArray> pTokenArray(mrFormat.CreateFlatCopiedTokenArray(0)); |