diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2024-04-26 16:47:26 +0500 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2024-04-26 21:19:57 +0200 |
commit | 105ce47a695cb7ea7e6abf879e1c632b7d81f054 (patch) | |
tree | 1df2f784f2417ec68e9fbf995a10507b51e24098 /xmloff | |
parent | f6ca163d3f6383d3a48dbdacc5410e630d678ea1 (diff) |
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
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/text/txtparae.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx index df324c16acad..b0671175e547 100644 --- a/xmloff/source/text/txtparae.cxx +++ b/xmloff/source/text/txtparae.cxx @@ -1684,6 +1684,9 @@ void XMLTextParagraphExport::collectTextAutoStylesAndNodeExportOrder(bool bIsPro } } + if (GetExport().getExportFlags() & SvXMLExportFlags::CONTENT) + exportTrackedChanges(true); + mbCollected = true; } |