<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:jluth@mail.com" title="Justin L <jluth@mail.com>"> <span class="fn">Justin L</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - FILESAVE: DOCX: new line added every roundtrip"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=108954">bug 108954</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>jluth@mail.com
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - FILESAVE: DOCX: new line added every roundtrip"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=108954#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - FILESAVE: DOCX: new line added every roundtrip"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=108954">bug 108954</a>
              from <span class="vcard"><a class="email" href="mailto:jluth@mail.com" title="Justin L <jluth@mail.com>"> <span class="fn">Justin L</span></a>
</span></b>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=137617" name="attach_137617" title="tdf108954_RTaddsSection.docx: homemade, minimal unit test">attachment 137617</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=137617&action=edit" title="tdf108954_RTaddsSection.docx: homemade, minimal unit test">[details]</a></span>
tdf108954_RTaddsSection.docx: homemade, minimal unit test

The problem comes because bEmit is now true after
+  bEmit = rMaster.GetHeader().IsActive() || rMaster.GetFooter().IsActive();

The fix for <a class="bz_bug_link 
          bz_status_VERIFIED  bz_closed"
   title="VERIFIED FIXED - FILESAVE: Header lost after saving to DOCX"
   href="show_bug.cgi?id=107618">bug 107618</a> was backported to 5.4.

My first impression is that this is mostly an unfixable problem, related more
to the difference between continuous sections/page styles in LO vs MSO, than to
section endings. I need to look at the earlier <a class="bz_bug_link 
          bz_status_VERIFIED  bz_closed"
   title="VERIFIED FIXED - FILESAVE: DOCX: Extra section created during each save"
   href="show_bug.cgi?id=106492">bug 106492</a> for a better
understanding, but my gut feeling is that this just needs to be reverted.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>