[Libreoffice-bugs] [Bug 139281] Unexpected content inserted into XML element in ScDocShell when adding Default style to sc/res/xml/styles.xml

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Jan 25 16:33:34 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=139281

Buovjaga <ilmari.lauhakangas at libreoffice.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Whiteboard| QA:needsComment            |

--- Comment #1 from Buovjaga <ilmari.lauhakangas at libreoffice.org> ---
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}

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210125/5f7870b4/attachment.htm>


More information about the Libreoffice-bugs mailing list