related to tdf#87437: prevent null pointer function call

Fix for change id  Ia98017cbba7d3a43b67764ae0fa6447b7e90ca86

Change-Id: Iad3d689f7a8dd612c31ea80c9502031a2dc0ed70
Reviewed-on: https://gerrit.libreoffice.org/17391
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
Justin Luth 2015-07-29 09:47:32 +03:00 committed by Caolán McNamara
parent 824e663cfb
commit 3f7eeb0070

View file

@ -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;
}
}