<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 - Hyphen seperated from words at line break"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=140402">140402</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Hyphen seperated from words at line break
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>All
          </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>julius.becker@posteo.de
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
In German, we can use a hyphen to replace parts of words:
1) "be- und entladen" (instead of "beladen und entladen" [load and unload])
2) "Gesprächspartnerinnen und -partner" ("Gesprächspartnerinnen und
Gesprächspartner" [female interlocutors and male interlocutors])

An the end of a line, the hyphen should not be seperated from the word. So it’s
1) "be-/line break/und " and
2) "und/line break/-partner".

But in the second case, LibreOffice Writer seperates the hyphen and "partner".

Steps to Reproduce:
1. Type a word that beginns with a hyphen (-) (like -partner)
2. Choose German as text language.
3. Add tabs or blank spaces befor the hyphen so that the line breaks. 

Actual Results:
The hyphen remains as last sign on the line, the word is on the new line. The
line break is between the hyphen and the rest of the word.

Expected Results:
As the hyphen is part of the word, the line break should be before the hyphen.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.0.4.2 (x64)
Build ID: dcf040e67528d9187c66b2379df5ea4407429775
CPU threads: 8; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: threaded</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>