<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 - The table of contents deletes the end of the document"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=136773">136773</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>The table of contents deletes the end of the document
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>6.4.6.2 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>myosotis.arae@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
My document has 6 pages (pdf version here :
<a href="https://renardenjoue.araetech.eu/infos">https://renardenjoue.araetech.eu/infos</a>)
When I insert a table of content, just before the first title (style Title 1),
the pages 3 to 6 vanish.

Steps to Reproduce:
1.Put the cursor on the line just after the image
2.Insert Table of contents

Actual Results:
Table of contents inserted.
The rest of the document remains the same.

Expected Results:
All the document disappeared except pages 1 & 2.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Should not delete anything in the document</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>