sw/source/filter/ww8/wrtw8nds.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit a89b1884273a3bde1a38cd92148a09cdf1c3a058 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Mon Sep 5 09:10:32 2022 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Mon Sep 5 11:53:40 2022 +0200 cid#1513509 Dereference after null check Change-Id: Ic325193e138175706b43a3f02a4a4cc2f84e75ef Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139404 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/sw/source/filter/ww8/wrtw8nds.cxx b/sw/source/filter/ww8/wrtw8nds.cxx index 54a59b16e7f9..692086fa709d 100644 --- a/sw/source/filter/ww8/wrtw8nds.cxx +++ b/sw/source/filter/ww8/wrtw8nds.cxx @@ -2857,7 +2857,7 @@ void MSWordExportBase::OutputTextNode( SwTextNode& rNode ) #endif AttrOutput().TableInfoCell( pTextNodeInfoInner ); - if (pTextNodeInfoInner->isFirstInTable()) + if (pTextNodeInfoInner && pTextNodeInfoInner->isFirstInTable()) { const SwTable * pTable = pTextNodeInfoInner->getTable();