sw/source/filter/ww8/docxattributeoutput.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 7dc4f5d686f7834702ff133b4e75f29ffa6b5ec3 Author: László Németh <nem...@numbertext.org> AuthorDate: Tue Jun 4 15:00:19 2019 +0200 Commit: Xisco Faulí <xiscofa...@libreoffice.org> CommitDate: Wed Jun 5 20:05:54 2019 +0200 tdf#70234 DOCX export: fix only expanded fields The commit caf2f5fff39caf06204f71d0c2276b415ef047c3 "tdf#70234 DOCX: export tracked deletion of fields" must handle only the fields with multiple runs (expanded fields). Change-Id: I2303bade75401e07accf3f0a874f093458fe7efa Reviewed-on: https://gerrit.libreoffice.org/73453 Tested-by: Jenkins Reviewed-by: László Németh <nem...@numbertext.org> (cherry picked from commit 222f6a1c43b7ae7bf8e2f1fbc1dbe6457e611ab7) Reviewed-on: https://gerrit.libreoffice.org/73540 Reviewed-by: Xisco Faulí <xiscofa...@libreoffice.org> diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx index 5a0b1708c6f5..5f0b20865008 100644 --- a/sw/source/filter/ww8/docxattributeoutput.cxx +++ b/sw/source/filter/ww8/docxattributeoutput.cxx @@ -1944,6 +1944,8 @@ void DocxAttributeOutput::StartField_Impl( const SwTextNode* pNode, sal_Int32 nP // normally in the text run if ( !rInfos.pField ) CmdField_Impl( pNode, nPos, rInfos, bWriteRun ); + else + m_bWritingField = true; } } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits