sw/source/writerfilter/dmapper/PropertyMap.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit dde3872271389172a45cefc1eecff70f4ccb46b0 Author: Justin Luth <[email protected]> AuthorDate: Sat Nov 2 19:22:13 2024 -0400 Commit: Xisco Fauli <[email protected]> CommitDate: Mon Nov 4 08:46:59 2024 +0100 tdf#161349 writerfilter: only copy page background vml fill This fixes my 24.8 regression. I had this clause in earlier versions of the patchset, but it moved along with most of the other logic to the initialization of the default page style. However, I certainly need to limit copying the properties of the default page style to ONLY the fill properties here as well. Change-Id: I168f13ebeea3720eba53703210314f069fb87ae2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175963 Reviewed-by: Justin Luth <[email protected]> Tested-by: Jenkins Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175965 Reviewed-by: Xisco Fauli <[email protected]> diff --git a/sw/source/writerfilter/dmapper/PropertyMap.cxx b/sw/source/writerfilter/dmapper/PropertyMap.cxx index 9dbf1c1eb47d..a9270da6617b 100644 --- a/sw/source/writerfilter/dmapper/PropertyMap.cxx +++ b/sw/source/writerfilter/dmapper/PropertyMap.cxx @@ -1211,6 +1211,8 @@ void SectionPropertyMap::HandleMarginsHeaderFooter(DomainMapper_Impl& rDM_Impl) rDM_Impl.GetPageStyles()->getByName(u"Standard"_ustr), uno::UNO_QUERY_THROW); for (const beans::Property& rProp : m_aPageStyle->getPropertySetInfo()->getProperties()) { + if (!rProp.Name.startsWith("Fill")) // only copy XATTR_FILL properties + continue; try { const uno::Any aFillValue = xDefaultPageStyle->getPropertyValue(rProp.Name);
