<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 - Applying Writing Aids twice crashes the application"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=138596">138596</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Applying Writing Aids twice crashes the application
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>unspecified
          </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>Keywords</th>
          <td>bibisectRequest
          </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>heiko.tietze@documentfoundation.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>ilmari.lauhakangas@libreoffice.org, xiscofauli@libreoffice.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>In Tools > Options > Writer > Writing Aids, with or without change to the
settings, applying the first time works well but the second time crashes the
app.

It's caused by  sw/source/ui/config/optpage.cxx 

    const SwDocDisplayItem* pOldAttr = static_cast<const SwDocDisplayItem*>(
                        GetOldItem(GetItemSet(), FN_PARAM_DOCDISP));

where the old itemset is NULL.</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>