summaryrefslogtreecommitdiff
path: root/xmloff/source
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2024-04-26 00:05:07 +0500
committerMike Kaganski <mike.kaganski@collabora.com>2024-04-26 05:49:04 +0200
commit0568384c5d160000748aa58b544dbbd2a18a85a1 (patch)
treeff7572ff26afa7f2921562e4d585441d630cb7fc /xmloff/source
parentdac6cbd2155ca47d9152fbcc523f52aee6386832 (diff)
Make sure to export autostyles from inside frames anchored to page
These frames need to export content when collecting autostyles, too. Regression after commit 69ed893087f89d176a5ec4b263ce8d75774be72b (tdf#160253: fix list identifier export decision code, 2024-04-24). Change-Id: If036cab9327e33d32f494fc765bae8e2d685907c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166650 Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com> Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'xmloff/source')
-rw-r--r--xmloff/source/text/txtparae.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx
index 786539812341..09af34d44648 100644
--- a/xmloff/source/text/txtparae.cxx
+++ b/xmloff/source/text/txtparae.cxx
@@ -1631,7 +1631,7 @@ void XMLTextParagraphExport::collectTextAutoStylesAndNodeExportOrder(bool bIsPro
return;
const bool bAutoStyles = true;
- const bool bExportContent = false;
+ const bool bExportContent = true;
if (auto xTextDocument = GetExport().GetModel().query<XTextDocument>())
{