sc/source/filter/xml/xmlexprt.cxx | 1 + 1 file changed, 1 insertion(+)
New commits: commit e69b57d7f55eeab6253b9fab7edce06da50121f9 Author: Tomaž Vajngerl <[email protected]> AuthorDate: Sat Oct 24 23:56:17 2020 +0200 Commit: Tomaž Vajngerl <[email protected]> CommitDate: Sun Oct 25 07:27:15 2020 +0100 tdf#115588 write autoDataStyles for master-slides If we don't trigger this, then the numeric styles won't be written to the auto-styles and the style.xml will refer to styles, that don't exists. In particular a reference to "N2", where "N2" number-style wouldn't be defined. Flat ODS, that writes all into one document, was unaffected by this (because we trigger the autoDataStyles funtion in when also exporting the content. Change-Id: Iddfc264756d828b098ca8a351299c961b7e63dab Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104760 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <[email protected]> diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx index 9c8dff177c95..999cfb866ba4 100644 --- a/sc/source/filter/xml/xmlexprt.cxx +++ b/sc/source/filter/xml/xmlexprt.cxx @@ -2648,6 +2648,7 @@ void ScXMLExport::ExportAutoStyles_() if (getExportFlags() & SvXMLExportFlags::MASTERSTYLES) { + exportAutoDataStyles(); GetPageExport()->exportAutoStyles(); } _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
