From 3f7eeb007050d7bc4606f3c3e8221175d92ab06b Mon Sep 17 00:00:00 2001 From: Justin Luth Date: Wed, 29 Jul 2015 09:47:32 +0300 Subject: [PATCH] related to tdf#87437: prevent null pointer function call MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix for change id Ia98017cbba7d3a43b67764ae0fa6447b7e90ca86 Change-Id: Iad3d689f7a8dd612c31ea80c9502031a2dc0ed70 Reviewed-on: https://gerrit.libreoffice.org/17391 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- sw/source/filter/ww8/wrtw8nds.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sw/source/filter/ww8/wrtw8nds.cxx b/sw/source/filter/ww8/wrtw8nds.cxx index 06c96dea7700..544c094acfd4 100644 --- a/sw/source/filter/ww8/wrtw8nds.cxx +++ b/sw/source/filter/ww8/wrtw8nds.cxx @@ -2123,7 +2123,7 @@ void MSWordExportBase::OutputTextNode( const SwTextNode& rNode ) if ( pTextNodeInfo.get() != NULL ) { pTextNodeInfoInner = pTextNodeInfo->getFirstInner(); - if ( pTextNodeInfoInner->isEndOfCell() ) { + if ( pTextNodeInfoInner && pTextNodeInfoInner->isEndOfCell() ) { bIsEndOfCell = true; } }