diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-16 14:24:47 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-16 16:41:57 +0100 |
commit | e19b3b4230883fb34ef992d915a86768282b6779 (patch) | |
tree | 9ef1d7b2dae76d82780021a52156f8134169d333 | |
parent | b56e32b3c7f37d7da45c148f9e662f8d6dd4caf9 (diff) |
coverity#735516 Logically dead code
Change-Id: I70c6ae792805fa7165f465d076e9f4cda60e5e84
-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 98d0ff66bc6f..8448a13f19b7 100644 --- a/sw/source/core/frmedt/tblsel.cxx +++ b/sw/source/core/frmedt/tblsel.cxx @@ -434,7 +434,7 @@ sal_Bool ChkChartSel( const SwNode& rSttNd, const SwNode& rEndNd ) if ( !pCNd || pCNd->getLayoutFrm( pCNd->GetDoc()->GetCurrentLayout() ) == NULL ) return sal_False; - const SwLayoutFrm *pStart = pCNd ? pCNd->getLayoutFrm( pCNd->GetDoc()->GetCurrentLayout(), &aNullPos )->GetUpper() : 0; + const SwLayoutFrm *pStart = pCNd->getLayoutFrm( pCNd->GetDoc()->GetCurrentLayout(), &aNullPos )->GetUpper(); OSL_ENSURE( pStart, "without frame nothing works" ); aIdx = rEndNd; |