diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-05-05 09:03:36 +0100 |
---|---|---|
committer | Aron Budea <aron.budea@collabora.com> | 2021-01-04 14:38:11 +0100 |
commit | bf1527f84cf914c7150f49c752ec6c4590859ac5 (patch) | |
tree | 6d071fb4d54da2596713caff74b115da73a7a1d7 /sc/source/filter/excel | |
parent | df7c7d17149059d8a9b127f98d569abf063c1552 (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
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93453
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
(cherry picked from commit 8e53551db00d325dd638d45e50b32984dc778f17)
Change-Id: Ic26b450068bd1e13a3c82b1c1466630402498787
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108662
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Aron Budea <aron.budea@collabora.com>
Diffstat (limited to 'sc/source/filter/excel')
-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 a3c25320ff72..f6dca0bb8cfd 100644 --- a/sc/source/filter/excel/xeextlst.cxx +++ b/sc/source/filter/excel/xeextlst.cxx @@ -152,7 +152,7 @@ XclExpExtCF::XclExpExtCF( const XclExpRoot& rRoot, const ScCondFormatEntry& rFor void XclExpExtCF::SaveXml( XclExpXmlStream& rStrm ) { OUString aStyleName = mrFormat.GetStyle(); - SfxStyleSheetBase* pStyle = GetDoc().GetStyleSheetPool()->Find(aStyleName); + SfxStyleSheetBase* pStyle = GetDoc().GetStyleSheetPool()->Find(aStyleName, SfxStyleFamily::Para); SfxItemSet& rSet = pStyle->GetItemSet(); std::unique_ptr<ScTokenArray> pTokenArray(mrFormat.CreateFlatCopiedTokenArray(0)); |