<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Heading numbering style changed after clear paragraph formatting followed by undo"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=139376#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Heading numbering style changed after clear paragraph formatting followed by undo"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=139376">bug 139376</a>
              from <span class="vcard"><a class="email" href="mailto:riyadhtalal@gmail.com" title="Riyadh <riyadhtalal@gmail.com>"> <span class="fn">Riyadh</span></a>
</span></b>
        <pre>This seems to be already present in Libreoffice 3.3.0, though I tested on
windows.

Description:

Numbered list items having heading formatting display wrong numbering after
formatting clear/undo while the file is still open.

Saving then reopening file will solve the problem and display everything the
right way.

---
Steps to test:

1. Open attachment above:
it has:
One Level1 list item (having Heading1 format) (it starts numbering with number
4)  and
Eight Level2 list items (numbering 4.1 to 4.8) (having Heading2 format):

2. CTRL+A
3. Clear formatting in paragraph style selector in toolbar (not clear df)
4. CTRL+Z

5. Result:
The eight Level2 list items will SHOW as Level1 numbering (5,6,7,8,9,10,11,12)
consecutive to Level1 item (4).

- Click on any one of those eight list items (for example, the phrase "Empty
Boiler Condensate bucket") and notice status bar reference (it is STILL Outline
Numbering: Level 2)

6. Save file
7. Reload file
8. Result: everything is as original: Headings and numbering outline levels
(4.1 to 4.8).</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>