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

New commits:
commit eaa07fa90c2b07ba76dfc23305b3b6e9c75f3e85
Author:     Noel Grandin <[email protected]>
AuthorDate: Fri Nov 28 14:24:16 2025 +0200
Commit:     Noel Grandin <[email protected]>
CommitDate: Tue Dec 2 11:41:11 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]>
    (cherry picked from commit 1460804ba3987f163ecb0e228785aada2819d99a)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194898
    Tested-by: Jenkins CollaboraOffice <[email protected]>

diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx 
b/sw/source/filter/ww8/docxattributeoutput.cxx
index 34c8a9966235..62ad5434ea0b 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -777,6 +777,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())
@@ -805,8 +807,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