diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-01-26 10:19:14 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-01-26 12:14:38 +0000 |
commit | 0d6a7a56625f7bdd63d87455b7a34cecbb4bf7d2 (patch) | |
tree | 5bc5ff1eb72e9825a367f6e52111ab39692c1466 | |
parent | b4daae0f4da8c5c7770dc6d8fb8da49ac95fcf56 (diff) |
coverity#1266443 Dereference after null check
Change-Id: Ia267546994c34cd6dc8e65cbb7e701c9b300816a
-rw-r--r-- | sw/source/core/layout/trvlfrm.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/trvlfrm.cxx b/sw/source/core/layout/trvlfrm.cxx index b4820e05312b..d2f9418ff374 100644 --- a/sw/source/core/layout/trvlfrm.cxx +++ b/sw/source/core/layout/trvlfrm.cxx @@ -771,7 +771,7 @@ static bool lcl_UpDown( SwPaM *pPam, const SwCntntFrm *pStart, // Restrict nX to the left and right borders of pTab: // (is this really necessary?) - if ( !pTable->GetUpper()->IsInTab() ) + if (pTable && !pTable->GetUpper()->IsInTab()) { const bool bRTL = pTable->IsRightToLeft(); const long nPrtLeft = bRTL ? |