<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: Table of Contents (TOC) contains lines with dots only - no line break at appropriate position in text line above"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=123047">123047</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Editing: Table of Contents (TOC) contains lines with dots only - no line break at appropriate position in text line above
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>6.1.4.2 release
          </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>plixplox@yahoo.de
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=148744" name="attach_148744" title="Screenshot showing the behaviour">attachment 148744</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=148744&action=edit" title="Screenshot showing the behaviour">[details]</a></span>
Screenshot showing the behaviour

The TOC in the .odt document I am working on since months again shows lines
which only contain dots. This affects entries in the TOC of levels 1 and 2. My
document contains only the first and the second heading level.

For demonstration purposes, refer to the attached screenshot. 

In the TOC settings on the "Entries" tab, all levels are connected with the
character style "None". If I change the character style of level 1 or level 2
to the character style "Default style", then the behaviour described above does
not get resolved. By the way, if I then again open the "Entries" tab in the TOC
settings, the character style has been set back to "None" for level 1 and level
2.

I can easily provoke this behaviour. If I change the text of heading 

"'Nominelle' Mitgliedschaft in der NSDAP. Falsche Angabe über den Zeitpunkt des
Eintritts in die NSDAP" 

(the behaviour does not occur with this length of this heading) 

to 

"'Nominelle' Mitgliedschaft in der NSDAP. Falsche Angabe über den Zeitpunkt"

(i.e. I deleted the last three words of that heading)

, then the behaviour occurs, as it is visible with this shortened heading in
the attached screenshot.

I am using Linux Debian 9.7 ("Stretch"9), the currently stable Debian release.

I cannot upload the affected file here because it contains personal data about
my family.</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>