<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_ASSIGNED "
   title="ASSIGNED - FILEOPEN DOCX Empty paragraph after two consecutive breaks gets numbering"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=138892">bug 138892</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;">Assignee</td>
           <td>libreoffice-bugs@lists.freedesktop.org
           </td>
           <td>jluth@mail.com
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Version</td>
           <td>6.1 all versions
           </td>
           <td>6.1.0.3 release
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>ASSIGNED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - FILEOPEN DOCX Empty paragraph after two consecutive breaks gets numbering"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=138892#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - FILEOPEN DOCX Empty paragraph after two consecutive breaks gets numbering"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=138892">bug 138892</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>OK - this is what I think was happening.
BEFORE: It gets to pStyle assignment of List Paragraph. Assigns
PROP_NUMBERING_RULES. Then gets to the end of the paragraph and
bRemove/bNoNumbering. NoNumbering removes the applied PROP_NUMBERING_RULE, and
then finishParagraph was called - which did nothing about numbering at that
time.

NOW: pStyle waits until finishParagraph to apply numbering. bNoNumbering
removes directly applied PROP_NUMBERING_RULE, and then finishParagraph is
called, and it applies the list numbering.

Surprisingly, there are no unit tests that hit this behaviour.

This situation just got harder with "Since LO7.0/<a class="bz_bug_link 
          bz_status_VERIFIED  bz_closed"
   title="VERIFIED FIXED - FILEOPEN: ms word docx with styles that include bulleting / numbering loses bullet / number part of style in Writer"
   href="show_bug.cgi?id=131321">tdf#131321</a> fixed the loss of
numbering in styles, this OUGHT to be obsolete,". So this requires ADDING a
cancelling numbering rule in case the style assigns one. 

Proposed fix at <a href="http://gerrit.libreoffice.org/c/core/+/107738">http://gerrit.libreoffice.org/c/core/+/107738</a></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>