diff options
author | Justin Luth <justin_luth@sil.org> | 2022-01-21 15:34:59 +0200 |
---|---|---|
committer | Justin Luth <jluth@mail.com> | 2022-01-28 10:39:51 +0100 |
commit | 9167d0aa28d1326d6a0074efbc13dfad0c5605ce (patch) | |
tree | 1bd1f69d0fef8767034191dfb48744592b95a3cc /sw | |
parent | e53ad7928fc1cbe9950efebe41f1aa5a1a289439 (diff) |
v2 tdf#134951 docxexport GUI: don't lose postponed comment
A previous patch handled ooxmlexport's unit test failure.
But saving interactively writes the nodes in a different
order, and thus the flys process differently.
The comment was still lost/moving into the textbox
when manually testing.
So, just make sure that comments are written out before
a call to OutFlys().
There is one other place where OutFlys is called that
I didn't cover here. As a !bTextAtr, it doesn't seem
likely to need it, plus I don't want to modify ANYTHING
here without a proof document.
Change-Id: Iaf3d19bd8d8f6744b9fea1c8686e59612c0a7ff8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128732
Tested-by: Justin Luth <jluth@mail.com>
Reviewed-by: Justin Luth <jluth@mail.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/wrtw8nds.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/filter/ww8/wrtw8nds.cxx b/sw/source/filter/ww8/wrtw8nds.cxx index 6a84f77c5f5e..a1409a695e0f 100644 --- a/sw/source/filter/ww8/wrtw8nds.cxx +++ b/sw/source/filter/ww8/wrtw8nds.cxx @@ -2720,6 +2720,8 @@ void MSWordExportBase::OutputTextNode( SwTextNode& rNode ) if (bTextAtr || bAttrWithRange || bIncludeEndOfParaCRInRedlineProperties) { + AttrOutput().WritePostitFieldReference(); + // insert final graphic anchors if any before CR nStateOfFlyFrame = aAttrIter.OutFlys( nEnd ); // insert final bookmarks if any before CR and after flys |