diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-24 10:00:48 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-24 12:12:24 +0000 |
commit | 757da44c04fc1a75d8e304cb945f02a02c19b7af (patch) | |
tree | 34bb915e88dd9628b5b363bf93d7e318de079874 /sw | |
parent | d83f3d4a228e98be19906d0a82f9d79f6a92e80d (diff) |
coverity#704958 Dereference after null check
Change-Id: I08138c5d7124e6212708aa74f605c3997ca442f1
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/unocore/unoidx.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unoidx.cxx b/sw/source/core/unocore/unoidx.cxx index 94b785ad1da3..b299e0a0e5e9 100644 --- a/sw/source/core/unocore/unoidx.cxx +++ b/sw/source/core/unocore/unoidx.cxx @@ -921,7 +921,7 @@ throw (beans::UnknownPropertyException, lang::WrappedTargetException, SwXTextSection::CreateXTextSection( pSectionFmt ); aRet <<= xContentSect; } - else + else if (pSectionFmt) { SwSections aSectArr; pSectionFmt->GetChildSections(aSectArr, |