sw/source/filter/ww8/docxattributeoutput.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit f9ded65195f40b55c2f185744cdcef37c3b133e2
Author:     Noel Grandin <[email protected]>
AuthorDate: Fri Nov 28 14:24:16 2025 +0200
Commit:     Xisco Fauli <[email protected]>
CommitDate: Wed Dec 3 11:11:50 2025 +0100

    officeotron: wrong ordering of elements under sdtPr
    
    Change-Id: Ib5ffffe959d0e58c9d3566d10880cc980c8fac99
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194784
    Tested-by: Jenkins
    Reviewed-by: Michael Stahl <[email protected]>
    Signed-off-by: Xisco Fauli <[email protected]>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194946

diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx 
b/sw/source/filter/ww8/docxattributeoutput.cxx
index 7089eb1b85a0..20aba4c08b6f 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -778,6 +778,8 @@ void SdtBlockHelper::WriteSdtBlock(const 
::sax_fastparser::FSHelperPtr& pSeriali
     // output sdt properties
     pSerializer->startElementNS(XML_w, XML_sdtPr);
 
+    WriteExtraParams(pSerializer);
+
     if (m_nSdtPrToken > 0 && m_pTokenChildren.is())
     {
         if (!m_pTokenAttributes.is())
@@ -806,8 +808,6 @@ void SdtBlockHelper::WriteSdtBlock(const 
::sax_fastparser::FSHelperPtr& pSeriali
         }
     }
 
-    WriteExtraParams(pSerializer);
-
     pSerializer->endElementNS(XML_w, XML_sdtPr);
 
     // sdt contents start tag

Reply via email to