<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 Image disappears from docx file when deleting subsequent empty paragraph"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=122103">122103</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>EDITING Image disappears from docx file when deleting subsequent empty paragraph
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>5.1.0.3 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>kelemeng@ubuntu.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>mikekaganski@hotmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=147540" name="attach_147540" title="Original file as odt">attachment 147540</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=147540&action=edit" title="Original file as odt">[details]</a></span>
Original file as odt

Attached odt file contains a few paragraphs and two images.
If this is saved as docx and reopened in Writer, deleting the empty paragraph
after the first image causes the image to disappear.

1, Save attached file as docx
2, Open the docx in Writer, and delete the empty paragraph between the first
image and the "Nyissuk meg a Fájl – Tulajdonságok ablakot!" sentence.

Actual result:
The first image disappears

Expected result:
The image remains.

The problem does not happen with the odt file. 

Version information:

Version: 5.1.0.0.alpha1+
Build ID: 87ac0b1e75a880a68ecb748bd4b34ae5a3d2ae98
Locale: hu-HU (hu_HU)

>From bibisect-win32-5.0 but it happens with current master too.</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>