summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/wrtww8.hxx
diff options
context:
space:
mode:
authorJustin Luth <justin_luth@sil.org>2022-01-20 13:33:15 +0200
committerJustin Luth <jluth@mail.com>2022-01-27 19:13:45 +0100
commit46b62f7777c6acdc2c94dc4b2ab79d38a10c49f9 (patch)
tree852494f6e01a0147e47a5883d26ad078b2c42705 /sw/source/filter/ww8/wrtww8.hxx
parent67478f9d637096781c9e3df64896b1ddaccc331b (diff)
v2 tdf#134951 docxexport: don't lose postponed comment
This patch basically reverts and re-writes the original fix. Prior to mstahl's 7.4 commit f261fae4af72b1328bc3e93fc52a9a24ce0975b3 tdf#143039 tdf#143106 sw: DOCX export: don't export duplicate flys ooxmlexport5's comment would only last for one or two round-trips, and then be lost after that. It kept moving around into things like the fly itself, or the footnote. With mstahl's commit, it was lost immediately (same as Word 2016), and so the ooxmlexport5 unit test that broke was commented out. Change-Id: Ia7e881143f1243a3ab81bb94c02b57189f3730f0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128703 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de> Reviewed-by: Justin Luth <jluth@mail.com>
Diffstat (limited to 'sw/source/filter/ww8/wrtww8.hxx')
-rw-r--r--sw/source/filter/ww8/wrtww8.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/wrtww8.hxx b/sw/source/filter/ww8/wrtww8.hxx
index bd960da05d7a..4df6d5c24fe8 100644
--- a/sw/source/filter/ww8/wrtww8.hxx
+++ b/sw/source/filter/ww8/wrtww8.hxx
@@ -1542,7 +1542,7 @@ public:
void NextPos() { if ( nCurrentSwPos < SAL_MAX_INT32 ) nCurrentSwPos = SearchNext( nCurrentSwPos + 1 ); }
- void OutAttr(sal_Int32 nSwPos, bool bWriteCombinedChars, bool bPostponeSingleUse = false);
+ void OutAttr(sal_Int32 nSwPos, bool bWriteCombinedChars);
virtual const SfxPoolItem* HasTextItem( sal_uInt16 nWhich ) const override;
virtual const SfxPoolItem& GetItem( sal_uInt16 nWhich ) const override;
int OutAttrWithRange(const SwTextNode& rNode, sal_Int32 nPos);