sw/source/filter/ww8/wrtw8nds.cxx | 1 + 1 file changed, 1 insertion(+)
New commits: commit d6139b6a5b6150d777825040612ab65ceaa4c275 Author: Justin Luth <[email protected]> AuthorDate: Tue Jan 27 14:38:45 2026 -0500 Commit: Justin Luth <[email protected]> CommitDate: Fri Feb 6 18:54:41 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/+/198461 Tested-by: Jenkins Reviewed-by: Justin Luth <[email protected]> diff --git a/sw/source/filter/ww8/wrtw8nds.cxx b/sw/source/filter/ww8/wrtw8nds.cxx index 2c2ae163c486..f2d05dfe0e71 100644 --- a/sw/source/filter/ww8/wrtw8nds.cxx +++ b/sw/source/filter/ww8/wrtw8nds.cxx @@ -2526,6 +2526,7 @@ void MSWordExportBase::OutputTextNode( SwTextNode& rNode ) } } + AttrOutput().ResetFlyProcessingFlag(); const FlyProcessingState nStateOfFlyFrame = aAttrIter.OutFlys(nCurrentPos); // Append bookmarks in this range after flys, exclusive of final
