Make sure that collecting redline autostyles succeeds
commit105ce47a695cb7ea7e6abf879e1c632b7d81f054
authorMike Kaganski <mike.kaganski@collabora.com>
Fri, 26 Apr 2024 11:47:26 +0000 (26 16:47 +0500)
committerMike Kaganski <mike.kaganski@collabora.com>
Fri, 26 Apr 2024 19:19:57 +0000 (26 21:19 +0200)
tree1df2f784f2417ec68e9fbf995a10507b51e24098
parentf6ca163d3f6383d3a48dbdacc5410e630d678ea1
Make sure that collecting redline autostyles succeeds

This step was called separately in SwXMLExport::ExportAutoStyles_,
after collectAutoStyles. collectTextAutoStylesAndNodeExportOrder
(which is called from collectAutoStyles) sets mbCollected to true,
and then all the code checking mbCollected/isAutoStylesCollected
stops collecting autostyles.

This moves exportTrackedChanges call to the place where all auto-
styles are collected.

Change-Id: I3f4bd0e0ff906a35b69c052e34adb6d66ef80d48
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166735
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
sw/qa/extras/odfexport/data/deleted_table.fodt [new file with mode: 0644]
sw/qa/extras/odfexport/odfexport2.cxx
sw/source/filter/xml/xmlfmte.cxx
xmloff/source/text/txtparae.cxx