diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-17 09:08:52 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-17 09:43:16 +0100 |
commit | 0995da6020b006b6c270d538179ec3154f918939 (patch) | |
tree | dc52c52206d0354627dd8234b46439dead20a982 /sw | |
parent | ff5ff77094c97de1d8af88525e8c0633ede4f6e2 (diff) |
coverity#736153 Dereference null return value
Change-Id: I226626858fa517af589db7288391daa775de38a5
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/docnode/ndtbl1.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/core/docnode/ndtbl1.cxx b/sw/source/core/docnode/ndtbl1.cxx index 2fa8089b6a50..a28133029c6d 100644 --- a/sw/source/core/docnode/ndtbl1.cxx +++ b/sw/source/core/docnode/ndtbl1.cxx @@ -1373,6 +1373,8 @@ static void lcl_CalcColValues( std::vector<sal_uInt16> &rToFill, const SwTabCols sal_Bool bRTL = pTab->IsRightToLeft(); const SwLayoutFrm *pCell = pTab->FirstCell(); + if (!pCell) + continue; do { if ( pCell->IsCellFrm() && pCell->FindTabFrm() == pTab && ::IsFrmInTblSel( rUnion, pCell ) ) |