<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 - Style is removed when clearing direct formatting of numbered list and then saving to file"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=120007">120007</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Style is removed when clearing direct formatting of numbered list and then saving to file
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>6.0.2.1 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows (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>pnsaevik@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
If a list has a named style, it is removed when applying "Clear Direct
Formatting". The change only appears when the file is saved and reloaded.

Steps to Reproduce:
To reproduce:

- Open LibreOffice Writer
- Turn on numbered list (F12)
- Change to a named style, such as "Text Body"
- Write two items:
    1. Test
    2. Test
- Select all text and apply "Clear Direct Formatting" (Ctrl-M)
- The style of the text appears unchanged
- Save and reload the file
- The style of the text is now "Default Style"

Actual Results:
The style of the text is removed and replaced with "Default Style"

Expected Results:
The style should be the same as before I saved the file.


Reproducible: Always


User Profile Reset: No



Additional Info:</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>