Kaydet (Commit) 44aa2dc9 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#704282 Logically dead code

Change-Id: Ife5b038c56a3609ac66fee67abf2e3f2cd48daee
üst 245dddf1
......@@ -2020,12 +2020,8 @@ void ScTabView::PaintArea( SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCRO
if ( eMode == SC_UPDATE_ALL && nRow2 >= MAXROW )
aEnd.Y() = pGridWin[i]->GetOutputSizePixel().Height();
bool bShowChanges = true; //! ...
if (bShowChanges)
{
aStart.X() -= nLayoutSign; // include change marks
aStart.Y() -= 1;
}
aStart.X() -= nLayoutSign; // include change marks
aStart.Y() -= 1;
bool bMarkClipped = aViewData.GetOptions().GetOption( VOPT_CLIPMARKS );
if (bMarkClipped)
......@@ -2038,8 +2034,6 @@ void ScTabView::PaintArea( SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCRO
{
long nMarkPixel = (long)( SC_CLIPMARK_SIZE * aViewData.GetPPTX() );
aStart.X() -= nMarkPixel * nLayoutSign;
if (!bShowChanges)
aStart.X() -= nLayoutSign; // cell grid
}
}
......
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