summaryrefslogtreecommitdiff
path: root/reportdesign/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-11-29 16:09:10 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-11-30 08:38:57 +0100
commit01a3cc1e55034f7703219d4bbb209de7c37bf07b (patch)
tree42a5f54b8f9bc3083fb7e6796a1721afe820e983 /reportdesign/source
parent79553e784c6d4587814bc2a577d7251c458df8d4 (diff)
tdf#133343 collect autostyle prop names
before scanning for autostyles. That way we can collect only the property state we are interested in, instead of all properties. Change-Id: I8da4d61401d904631cbf9dc1828266950fe98421 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143466 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'reportdesign/source')
-rw-r--r--reportdesign/source/filter/xml/xmlExport.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/reportdesign/source/filter/xml/xmlExport.cxx b/reportdesign/source/filter/xml/xmlExport.cxx
index 24e2261cbdf1..e3bf45249a44 100644
--- a/reportdesign/source/filter/xml/xmlExport.cxx
+++ b/reportdesign/source/filter/xml/xmlExport.cxx
@@ -658,7 +658,8 @@ void ORptExport::exportReportComponentAutoStyles(const Reference<XSection>& _xPr
rtl::Reference< XMLShapeExport > xShapeExport = GetShapeExport();
xShapeExport->seekShapes(_xProp);
SolarMutexGuard aGuard;
- xShapeExport->collectShapeAutoStyles(xShape);
+ css::uno::Sequence<OUString> aAutoStylePropNames = GetAutoStylePool()->GetPropertyNames();
+ xShapeExport->collectShapeAutoStyles(xShape, aAutoStylePropNames);
}
else
{