cppcheck: remove redundant check.
If pInfo were NULL, would have crashed at the enclosing if-block that deferences pInfo->nRotateDir.
This commit is contained in:
parent
4c7a5bee34
commit
427c9ebd41
1 changed files with 1 additions and 5 deletions
|
@ -3297,11 +3297,7 @@ void ScOutputData::DrawRotated(BOOL bPixelToLogic)
|
|||
if (!bHidden)
|
||||
{
|
||||
long nOutWidth = nCellWidth - 1;
|
||||
long nOutHeight;
|
||||
if (pInfo)
|
||||
nOutHeight = nCellHeight;
|
||||
else
|
||||
nOutHeight = (long) ( pDoc->GetRowHeight(nY,nTab) * nPPTY );
|
||||
long nOutHeight = nCellHeight;
|
||||
|
||||
if ( bMerged ) // Zusammengefasst
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue