summaryrefslogtreecommitdiff
path: root/sw/source/core
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-10-07 11:25:10 +0100
committerCaolán McNamara <caolanm@redhat.com>2010-10-07 13:50:04 +0100
commit024ff020cbf451ab8ef77015218c33a7c54f7b08 (patch)
treee063e6d7d5a741da170db50bf98865a0d49d3669 /sw/source/core
parentd03aad0b5ddd40b3d460eedb2dc3b007875e989d (diff)
#i114198# NULL pIndex in SwCallLink::~SwCallLink
Diffstat (limited to 'sw/source/core')
-rw-r--r--sw/source/core/crsr/callnk.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/core/crsr/callnk.cxx b/sw/source/core/crsr/callnk.cxx
index b7b80eb7c407..bfc252be9a36 100644
--- a/sw/source/core/crsr/callnk.cxx
+++ b/sw/source/core/crsr/callnk.cxx
@@ -244,6 +244,10 @@ SwCallLink::~SwCallLink()
{
const SwNodeIndex* pIndex = pFlyFrm->GetFmt()->GetCntnt().GetCntntIdx();
ASSERT( pIndex, "Fly ohne Cntnt" );
+
+ if (!pIndex)
+ return;
+
const SwNode& rStNd = pIndex->GetNode();
if( rStNd.EndOfSectionNode()->StartOfSectionIndex() > nNode ||