From 6408f363bf77319228739cba69ab1bd08499e380 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Sat, 23 Mar 2013 16:50:30 +0100 Subject: coverity#704225 Logically dead code Change-Id: I9aa41653b9622245de8084443ef3e0b74f720571 --- editeng/source/outliner/outliner.cxx | 4 ---- 1 file changed, 4 deletions(-) (limited to 'editeng') 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 ) -- cgit