summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Luth <justin_luth@sil.org>2015-07-29 09:47:32 +0300
committerCaolán McNamara <caolanm@redhat.com>2015-08-07 13:52:26 +0000
commit3f7eeb007050d7bc4606f3c3e8221175d92ab06b (patch)
tree96df5a43481d41b802fa99143e386993f59cb7b0
parent824e663cfbba436db32e4f2a20e3acbe275252e7 (diff)
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>
-rw-r--r--sw/source/filter/ww8/wrtw8nds.cxx2
1 files changed, 1 insertions, 1 deletions
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;
}
}