<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 - Cross-references pointing to incorrect references"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=124401">124401</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Cross-references pointing to incorrect references
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>6.2.0.0.alpha1+
          </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>dani3l.grigoras@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
I have a subdocument (54_Subdocument.odt) which when loaded into the
masterdocument (00_MASTERDOC.odm) has some of the cross-references pointing to
the wrong reference headings found in another subdocument (43_Subdocument.odt),
instead of to the reference headings in its own body.
For example, the cross-references in the "LCD Register Map" table of
54_Subdocument.odt point to LCD_REGISTER1, LCD_REGISTER2 etc., but when
54_Subdocument.odt is loaded in the master document together with
43_Subdocument.odt, those cross-references of 54_Subdocument.odt now point to
BLT_REGISTER1, BLT_REGISTER2 etc. of 43_Subdocument.odt, instead of to
LCD_REGISTER1, LCD_REGISTER2 etc.
Please refer to the screenshot attached and use the sample documents attached
to reproduce this issue.

Steps to Reproduce:
-

Actual Results:
-

Expected Results:
-


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>