Resolves: tdf#149408 inspector crash with a writer OLE inside calc
commit8d2421f69afead098003eec63c809c2403924b6c
authorCaolán McNamara <caolanm@redhat.com>
Wed, 1 Jun 2022 10:57:30 +0000 (1 11:57 +0100)
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Wed, 1 Jun 2022 17:06:21 +0000 (1 19:06 +0200)
tree975f73514f2eb2531d38f5e4616e20a619923968
parentac8ca487f7d065fa590eda1d95d7fd75e59cefd1
Resolves: tdf#149408 inspector crash with a writer OLE inside calc

toplevel isn't a SwDocShell at this point, its a ScDocShell

Change-Id: I3aa3c72e494cf6c0ceff1286a7026ca01385ab8e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135173
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Tested-by: Jenkins
(cherry picked from commit f23faaa44b8bde98bd979032fda9bfce71f7ff96)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135258
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
sw/source/uibase/sidebar/WriterInspectorTextPanel.cxx