sw/source/filter/ww8/docxattributeoutput.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
New commits: commit 6aac600db800151f9c2580b4a3fce15d49c293a3 Author: Noel Grandin <[email protected]> AuthorDate: Tue Jan 6 20:03:52 2026 +0200 Commit: Noel Grandin <[email protected]> CommitDate: Thu Jan 8 13:45:00 2026 +0100 officeotron: w:del in wrong order under the w:rPr element, w:del needs to come before w:lang Change-Id: I0bf6ddc554c44ef978b62565d5be664af406a693 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196624 Tested-by: Jenkins Reviewed-by: Noel Grandin <[email protected]> (cherry picked from commit 40a68f926079cbe3082cacdabffac4846f342139) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196654 Tested-by: Jenkins CollaboraOffice <[email protected]> Reviewed-by: Michael Stahl <[email protected]> diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx index b00b509693b5..d623be444454 100644 --- a/sw/source/filter/ww8/docxattributeoutput.cxx +++ b/sw/source/filter/ww8/docxattributeoutput.cxx @@ -3374,6 +3374,10 @@ void DocxAttributeOutput::InitCollectedRunProperties() // Write the elements in the spec order static const sal_Int32 aOrder[] = { + FSNS( XML_w, XML_del ), + FSNS( XML_w, XML_ins ), + FSNS( XML_w, XML_moveFrom ), + FSNS( XML_w, XML_moveTo ), FSNS( XML_w, XML_rStyle ), FSNS( XML_w, XML_rFonts ), FSNS( XML_w, XML_b ), @@ -3414,10 +3418,6 @@ void DocxAttributeOutput::InitCollectedRunProperties() FSNS( XML_w, XML_specVanish ), FSNS( XML_w, XML_oMath ), FSNS( XML_w, XML_rPrChange ), - FSNS( XML_w, XML_del ), - FSNS( XML_w, XML_ins ), - FSNS( XML_w, XML_moveFrom ), - FSNS( XML_w, XML_moveTo ), FSNS( XML_w14, XML_glow ), FSNS( XML_w14, XML_shadow ), FSNS( XML_w14, XML_reflection ),
