summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/writerfilter/dmapper/PropertyMap.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/writerfilter/dmapper/PropertyMap.cxx b/sw/source/writerfilter/dmapper/PropertyMap.cxx
index 04b773164d92..447999e0a908 100644
--- a/sw/source/writerfilter/dmapper/PropertyMap.cxx
+++ b/sw/source/writerfilter/dmapper/PropertyMap.cxx
@@ -1206,6 +1206,8 @@ void SectionPropertyMap::HandleMarginsHeaderFooter(DomainMapper_Impl& rDM_Impl)
rDM_Impl.GetPageStyles()->getStyleByName(u"Standard"_ustr);
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);