Kaydet (Commit) 6408f363 authored tarafından Julien Nabet's avatar Julien Nabet

coverity#704225 Logically dead code

Change-Id: I9aa41653b9622245de8084443ef3e0b74f720571
üst 28fb57da
...@@ -1917,7 +1917,6 @@ void Outliner::ImplCalcBulletText( sal_uInt16 nPara, sal_Bool bRecalcLevel, sal_ ...@@ -1917,7 +1917,6 @@ void Outliner::ImplCalcBulletText( sal_uInt16 nPara, sal_Bool bRecalcLevel, sal_
DBG_CHKTHIS(Outliner,0); DBG_CHKTHIS(Outliner,0);
Paragraph* pPara = pParaList->GetParagraph( nPara ); Paragraph* pPara = pParaList->GetParagraph( nPara );
sal_uInt16 nRelPos = 0xFFFF;
while ( pPara ) while ( pPara )
{ {
...@@ -1944,9 +1943,6 @@ void Outliner::ImplCalcBulletText( sal_uInt16 nPara, sal_Bool bRecalcLevel, sal_ ...@@ -1944,9 +1943,6 @@ void Outliner::ImplCalcBulletText( sal_uInt16 nPara, sal_Bool bRecalcLevel, sal_
if ( bRecalcLevel ) if ( bRecalcLevel )
{ {
if ( nRelPos != 0xFFFF )
nRelPos++;
sal_Int16 nDepth = pPara->GetDepth(); sal_Int16 nDepth = pPara->GetDepth();
pPara = pParaList->GetParagraph( ++nPara ); pPara = pParaList->GetParagraph( ++nPara );
if ( !bRecalcChildren ) if ( !bRecalcChildren )
......
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