Kaydet (Commit) 28d202cd authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#735516 Logically dead code

Change-Id: I080944f3e3d6e5fd715d1da355f9dc1e92abbd87
üst 89283cdc
...@@ -451,7 +451,7 @@ sal_Bool ChkChartSel( const SwNode& rSttNd, const SwNode& rEndNd ) ...@@ -451,7 +451,7 @@ sal_Bool ChkChartSel( const SwNode& rSttNd, const SwNode& rEndNd )
return sal_False; 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" ); OSL_ENSURE( pEnd, "without frame nothing works" );
bool bTblIsValid, bValidChartSel; bool bTblIsValid, bValidChartSel;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment