<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - EDITING Undoing heading level change does not restore outline level"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=134282">134282</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>EDITING Undoing heading level change does not restore outline level
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>Inherited From OOo
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Writer
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>libreoffice@nisz.hu
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>nemeth@numbertext.org
          </td>
        </tr>

        <tr>
          <th>Blocks</th>
          <td>105948
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=162370" name="attach_162370" title="Example file from Writer">attachment 162370</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=162370&action=edit" title="Example file from Writer">[details]</a></span>
Example file from Writer

Attached example document contains two paragraphs formatted with Heading 2
style. This makes them numbered as 1.1 and 1.2.
Changing the first paragraphs style to Heading 1 changes its numbering to 1,
while the other paragraphs numbering to 1.1.
Undoing this change does not restore previous numbering, the 1 and 1.1 stay,
despite the first paragraphs style is restored as Heading 2.

Steps to reproduce:
    1. Open attached document
    2. Change the first paragraphs style to Heading 1
    3. Undo

Actual results:
First paragraphs numbering is not restored to 1.1

Expected results:
First paragraphs numbering should be restored to 1.1, second paragraphs to 1.2

LibreOffice details:
Version: 7.1.0.0.alpha0+ (x64)
Build ID: 642fc41cd7d080384658e10b30bb9d3b38a2cbd9
CPU szálak: 4; OS: Windows 6.3 Build 9600; Felületmegjelenítés:
alapértelmezett; VCL: win
Locale: hu-HU (hu_HU); UI: hu-HU
Calc: CL

Also happens in:
Verzió: 6.0.0.3
Build az.: 64a0f66915f38c6217de274f0aa8e15618924765
CPU szálak: 4; OS: Windows 6.3; Felületmegjelenítés: alapértelmezett; 
Területi beállítások: hu-HU (hu_HU); Calc: CL

Version: 5.0.0.5
Build ID: 1b1a90865e348b492231e1c451437d7a15bb262b
Locale: hu-HU (hu_HU)

Verzió: 4.0.0.3 (Build az.: 7545bee9c2a0782548772a21bc84a9dcc583b89)

LibreOffice 3.5.0rc3 
Build ID: 7e68ba2-a744ebf-1f241b7-c506db1-7d53735</pre>
        </div>
      </p>

        <div id="referenced">
          <hr style="border: 1px dashed #969696">
          <b>Referenced Bugs:</b>
          <ul>
              <li>
                [<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [META] Undo/Redo bugs and enhancements"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=105948">Bug 105948</a>] [META] Undo/Redo bugs and enhancements
              </li>
          </ul>
        </div>
        <br>

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

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