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

New commits:
commit d2767db09c5608d2f4edc6c2c7a3c4d0e92192cf
Author:     Justin Luth <[email protected]>
AuthorDate: Fri Feb 13 20:36:15 2026 -0500
Commit:     Justin Luth <[email protected]>
CommitDate: Fri Feb 20 20:43:57 2026 +0100

    NFC tdf#170602 docx export: always use EndParaSdtBlock()
    
    No Functional Change intended
    
    This lays some groundwork for the subsequent patches
    in this bug report.
    It is a super minor change,
    but I want to de-clutter this patchset as much as possible.
    
    Use the function so that all closings of a grabbagged m_aParagraph
    follow the same code path.
    
    Change-Id: I5ea7e44650b6551a186224b730630ccdf4180700
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199364
    Tested-by: Jenkins
    Reviewed-by: Justin Luth <[email protected]>

diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx 
b/sw/source/filter/ww8/docxattributeoutput.cxx
index 34d518a69e18..841edf06aa31 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -614,7 +614,7 @@ sal_Int32 DocxAttributeOutput::StartParagraph(const 
ww8::WW8TableNodeInfo::Point
     if (bEndParaSdt || (m_aParagraphSdt.m_bStartedSdt && m_bHadSectPr))
     {
         // This is the common case: "close sdt before the current paragraph" 
was requested by the next paragraph.
-        m_aParagraphSdt.EndSdtBlock(m_pSerializer);
+        EndParaSdtBlock();
     }
     m_bHadSectPr = false;
 
@@ -1303,7 +1303,7 @@ void DocxAttributeOutput::EndParagraph( const 
ww8::WW8TableNodeInfoInner::Pointe
         const bool bOldStartedSdt = m_aParagraphSdt.m_bStartedSdt;
         m_rExport.SdrExporter().writeOnlyTextOfFrame(pFrame.get());
         if (!bOldStartedSdt && m_aParagraphSdt.m_bStartedSdt)
-            m_aParagraphSdt.EndSdtBlock(m_pSerializer);
+            EndParaSdtBlock();
         m_aFramePr.SetFrame(nullptr);
     }
 

Reply via email to