<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 - Cannot remove one of hyperlinks in a text block"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=126705">126705</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Cannot remove one of hyperlinks in a text block
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>5.2.7.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>Impress
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>franklin@goodhorse.idv.tw
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
When there are multiple hyperlinks in a text block, there is no way to remove
just one of the hyperlink (and keep text).

The only way to remove hyperlink URL but keep the text is to select those texts
and right-click to get context menu, and choose "Clear Direct Formatting". 
However when there are multiple hyperlinks, even I just choose one of the
hyperlink text and clear direct formatting, all the hyperlinks will be removed.

Steps to Reproduce:
1. Create multiple hyperlinks in a text block (like the attached sample file)
2. Select the second hyperlink
3. Right-click it and choose "Clear Direct Formatting"

Actual Results:
All the hyperlinks are removed.

Expected Results:
Only the second hyperlink should be removed and the first and third hyperlinks
should be reserved.


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>