diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-29 17:15:45 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-29 18:12:08 +0000 |
commit | 28d202cdc471585a7c7fba366b6247a561c8a5f7 (patch) | |
tree | 3752b18c1459fc9ee9630469849cba2fd848fe05 /sw | |
parent | 89283cdc4eacc9916eb95d9626703d7bea004575 (diff) |
coverity#735516 Logically dead code
Change-Id: I080944f3e3d6e5fd715d1da355f9dc1e92abbd87
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/frmedt/tblsel.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/frmedt/tblsel.cxx b/sw/source/core/frmedt/tblsel.cxx index 29be25a4200a..f0a7423812b6 100644 --- a/sw/source/core/frmedt/tblsel.cxx +++ b/sw/source/core/frmedt/tblsel.cxx @@ -451,7 +451,7 @@ sal_Bool ChkChartSel( const SwNode& rSttNd, const SwNode& rEndNd ) return sal_False; } - const SwLayoutFrm *pEnd = pCNd ? pCNd->getLayoutFrm( pCNd->GetDoc()->GetCurrentLayout(), &aNullPos )->GetUpper() : 0; + const SwLayoutFrm *pEnd = pCNd->getLayoutFrm( pCNd->GetDoc()->GetCurrentLayout(), &aNullPos )->GetUpper(); OSL_ENSURE( pEnd, "without frame nothing works" ); bool bTblIsValid, bValidChartSel; |