sw/source/filter/ww8/docxtablestyleexport.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit d428f566422aa8191d31efa822be09cbf9fba502 Author: Noel Grandin <[email protected]> AuthorDate: Wed Oct 29 14:00:07 2025 +0200 Commit: Noel Grandin <[email protected]> CommitDate: Sat Nov 1 19:17:33 2025 +0100 mso-test: fix ordering of w:lang element in table style When loading and then saving the document from forum-mso-de-131567.docx, the w:lang element is in the wrong order under the w:rPr element. Change-Id: I53d988097bb822f9dd9363114ebb33321584842c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193149 Tested-by: Jenkins CollaboraOffice <[email protected]> Reviewed-by: Michael Stahl <[email protected]> (cherry picked from commit 7b059f86dd5a2b01c99b354105edc12679e92cc6) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193254 Reviewed-by: Noel Grandin <[email protected]> Tested-by: Jenkins diff --git a/sw/source/filter/ww8/docxtablestyleexport.cxx b/sw/source/filter/ww8/docxtablestyleexport.cxx index eb9f9a2328e7..9397ea3e57bb 100644 --- a/sw/source/filter/ww8/docxtablestyleexport.cxx +++ b/sw/source/filter/ww8/docxtablestyleexport.cxx @@ -448,7 +448,6 @@ void DocxTableStyleExport::Impl::tableStyleRPr(const uno::Sequence<beans::Proper } } tableStyleRRFonts(aRFonts); - tableStyleRLang(aLang); handleBoolean(aB, XML_b); handleBoolean(aBCs, XML_bCs); handleBoolean(aI, XML_i); @@ -466,6 +465,7 @@ void DocxTableStyleExport::Impl::tableStyleRPr(const uno::Sequence<beans::Proper m_pSerializer->singleElementNS(XML_w, XML_sz, FSNS(XML_w, XML_val), aSz); if (!aSzCs.isEmpty()) m_pSerializer->singleElementNS(XML_w, XML_szCs, FSNS(XML_w, XML_val), aSzCs); + tableStyleRLang(aLang); m_pSerializer->endElementNS(XML_w, XML_rPr); }
