<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:ilmari.lauhakangas@libreoffice.org" title="Buovjaga <ilmari.lauhakangas@libreoffice.org>"> <span class="fn">Buovjaga</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Unexpected content inserted into XML element in ScDocShell when adding Default style to sc/res/xml/styles.xml"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=139281">bug 139281</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Whiteboard</td>
           <td> QA:needsComment
           </td>
           <td>
                
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Unexpected content inserted into XML element in ScDocShell when adding Default style to sc/res/xml/styles.xml"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=139281#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Unexpected content inserted into XML element in ScDocShell when adding Default style to sc/res/xml/styles.xml"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=139281">bug 139281</a>
              from <span class="vcard"><a class="email" href="mailto:ilmari.lauhakangas@libreoffice.org" title="Buovjaga <ilmari.lauhakangas@libreoffice.org>"> <span class="fn">Buovjaga</span></a>
</span></b>
        <pre>I resumed debugging, but was unable to determine how I can inspect the contents
of the cells in ScDocShell.

I went into sc/qa/unit/helper/qahelper.cxx and
ScDocShellRef ScBootstrapFixture::saveAndReload( ScDocShell* pShell, sal_Int32
nFormat )

The m_aDocument in pShell seemed relevant, but I could not find cell contents.

Here is what I did in GDB:

p *pShell.m_aDocument.mpCellStringPool         
$9 = {mpImpl = std::unique_ptr<svl::SharedStringPool::Impl> = {get() =
0x555556729e00}}

p *(svl::SharedStringPool::Impl *)0x555556729e00
$13 = {maMutex = {mutex = 0x555556729e80}, maStrMap =
std::__debug::unordered_map with 0 elements, mrCharClass = @0x555556735330}</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>