sw/source/filter/ww8/wrtw8nds.cxx | 1 + 1 file changed, 1 insertion(+)
New commits: commit 92c3d20b3a916ec8a14809802f6e89ceaaa47120 Author: Justin Luth <[email protected]> AuthorDate: Tue Jan 27 14:38:45 2026 -0500 Commit: Miklos Vajna <[email protected]> CommitDate: Fri Feb 6 09:27:36 2026 +0100 tdf#170516 docx export: use ResetFlyProcessingFlag This was never being reset, so it was rather unpredictable. The intention here is to figure out whether we have actually written anything into the w:r. Perhaps m_pSerializer can tell us this better, but using the tools that were intially created for this purpose, this change makes it reliable at least. Change-Id: I5ee4c3fed6ed0f3333a8c2e56fd31ce9092477a9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198774 Reviewed-by: Justin Luth <[email protected]> Reviewed-by: Miklos Vajna <[email protected]> Tested-by: Jenkins CollaboraOffice <[email protected]> diff --git a/sw/source/filter/ww8/wrtw8nds.cxx b/sw/source/filter/ww8/wrtw8nds.cxx index f2b06b3255fe..1cfbb8cf0adc 100644 --- a/sw/source/filter/ww8/wrtw8nds.cxx +++ b/sw/source/filter/ww8/wrtw8nds.cxx @@ -2530,6 +2530,7 @@ void MSWordExportBase::OutputTextNode( SwTextNode& rNode ) } } + AttrOutput().ResetFlyProcessingFlag(); const FlyProcessingState nStateOfFlyFrame = aAttrIter.OutFlys(nCurrentPos); // Append bookmarks in this range after flys, exclusive of final
