MAXROWCOUNT-1 -> MAXROW, same number but tidier
Change-Id: I710365e8e44923c320203f749da84323ffa3d063
This commit is contained in:
@@ -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.
|
// Check if there are any cells below the end row that will get shifted.
|
||||||
bool bShiftCells = false;
|
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);
|
aPos = maCells.position(itCell, nEndRow+1);
|
||||||
itCell = aPos.first;
|
itCell = aPos.first;
|
||||||
|
Reference in New Issue
Block a user