From 0568384c5d160000748aa58b544dbbd2a18a85a1 Mon Sep 17 00:00:00 2001 From: Mike Kaganski Date: Fri, 26 Apr 2024 00:05:07 +0500 Subject: Make sure to export autostyles from inside frames anchored to page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Tested-by: Jenkins Reviewed-by: Mike Kaganski --- xmloff/source/text/txtparae.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmloff/source') 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()) { -- cgit