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

Julien Nabet <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|accessibility               |
             Blocks|105537                      |

--- Comment #9 from Julien Nabet <[email protected]> ---
I don't know why dynamic cast doesn't work since SwContent inherits from
SwTypeNumber
(see
https://opengrok.libreoffice.org/xref/core/sw/source/uibase/inc/swcont.hxx#70)

but this works:
assert(pEntry->GetUserData() == nullptr ||
static_cast<SwContent*>(pEntry->GetUserData()));


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=105537
[Bug 105537] [META] Assertion failed crashes
-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to