diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-05-05 09:03:36 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-05-05 11:57:19 +0200 |
commit | 8e53551db00d325dd638d45e50b32984dc778f17 (patch) | |
tree | 88d81cd6e1588ffc1548847e223cf7d3c20fd789 /sc | |
parent | c7e07cc736f33ccf751b326f7ae422682e428133 (diff) |
Related: tdf#130108 ensure we don't reuse the last SetSearchMask setting
Conditional style formats can only be SfxStyleFamily::Para formats
as far as I see, and presumably we don't want to reuse any previous
SetSearchMask settings here in xml export, so this looks like a dup
of the same problem of
commit 454a3c945fdc02d706b0a5ad49ca13e0443fa8e5
Date: Sun May 3 16:43:06 2020 +0100
Resolves: tdf#130108 ensure we don't reuse the last SetSearchMask setting
Change-Id: Ic26b450068bd1e13a3c82b1c1466630402498787
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93453
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/excel/xeextlst.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/excel/xeextlst.cxx b/sc/source/filter/excel/xeextlst.cxx index 0b2efd97ef22..50ef71556a08 100644 --- a/sc/source/filter/excel/xeextlst.cxx +++ b/sc/source/filter/excel/xeextlst.cxx @@ -153,7 +153,7 @@ void XclExpExtCF::SaveXml( XclExpXmlStream& rStrm ) { OUString aStyleName = mrFormat.GetStyle(); SfxStyleSheetBasePool* pPool = GetDoc().GetStyleSheetPool(); - SfxStyleSheetBase* pStyle = pPool->Find(aStyleName, pPool->GetSearchFamily(), pPool->GetSearchMask()); + SfxStyleSheetBase* pStyle = pPool->Find(aStyleName, SfxStyleFamily::Para); SfxItemSet& rSet = pStyle->GetItemSet(); std::unique_ptr<ScTokenArray> pTokenArray(mrFormat.CreateFlatCopiedTokenArray(0)); |