diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-03-23 16:50:30 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-03-23 16:50:49 +0100 |
commit | 6408f363bf77319228739cba69ab1bd08499e380 (patch) | |
tree | 98735532f06ba265252cfebd021e1b7c9e6fbd91 /editeng/source | |
parent | 28fb57daa77438f5e63132d3417062a11a44461e (diff) |
coverity#704225 Logically dead code
Change-Id: I9aa41653b9622245de8084443ef3e0b74f720571
Diffstat (limited to 'editeng/source')
-rw-r--r-- | editeng/source/outliner/outliner.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/editeng/source/outliner/outliner.cxx b/editeng/source/outliner/outliner.cxx index 3976d1b6dd2f..f2217eb57770 100644 --- a/editeng/source/outliner/outliner.cxx +++ b/editeng/source/outliner/outliner.cxx @@ -1917,7 +1917,6 @@ void Outliner::ImplCalcBulletText( sal_uInt16 nPara, sal_Bool bRecalcLevel, sal_ DBG_CHKTHIS(Outliner,0); Paragraph* pPara = pParaList->GetParagraph( nPara ); - sal_uInt16 nRelPos = 0xFFFF; while ( pPara ) { @@ -1944,9 +1943,6 @@ void Outliner::ImplCalcBulletText( sal_uInt16 nPara, sal_Bool bRecalcLevel, sal_ if ( bRecalcLevel ) { - if ( nRelPos != 0xFFFF ) - nRelPos++; - sal_Int16 nDepth = pPara->GetDepth(); pPara = pParaList->GetParagraph( ++nPara ); if ( !bRecalcChildren ) |