MAXROWCOUNT-1 -> MAXROW, same number but tidier

Change-Id: I710365e8e44923c320203f749da84323ffa3d063
This commit is contained in:
Caolán McNamara
2014-05-29 15:33:51 +01:00
parent f48f5138ec
commit b81cd3d116

View File

@@ -182,7 +182,7 @@ void ScColumn::DeleteRow( SCROW nStartRow, SCSIZE nSize )
// Check if there are any cells below the end row that will get shifted.
bool bShiftCells = false;
if (nEndRow < MAXROWCOUNT-1) //only makes sense to do this if there *is* a row after the end row
if (nEndRow < MAXROW) //only makes sense to do this if there *is* a row after the end row
{
aPos = maCells.position(itCell, nEndRow+1);
itCell = aPos.first;