tdf#137105: crash in table with Style Inspector active
commitdf74aef7159d7155addf78cfc4d139485945d794
authorAron Budea <aron.budea@collabora.com>
Thu, 15 Oct 2020 06:19:39 +0000 (15 08:19 +0200)
committerAron Budea <aron.budea@collabora.com>
Thu, 15 Oct 2020 19:56:12 +0000 (15 21:56 +0200)
treef9531d5e1b111d91da3f8890264ba15366f22c93
parenta4dab1759a7303da8b460ad9d8e6c6cbda812be2
tdf#137105: crash in table with Style Inspector active

xParaEnum->nextElement() is not an XTextRange then, it'd be
an XTextTable. Since the Style Inspector doesn't support
inspecting table properties, yet, simply avoid that case.

Change-Id: I4ae211713433ccc30d397c04f6cbf7f1f4d1f9e7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104327
Tested-by: Jenkins
Reviewed-by: Aron Budea <aron.budea@collabora.com>
sw/source/uibase/sidebar/WriterInspectorTextPanel.cxx