From b81cd3d1162f70b548b619fa92ce81275679bdbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Thu, 29 May 2014 15:33:51 +0100 Subject: [PATCH] MAXROWCOUNT-1 -> MAXROW, same number but tidier Change-Id: I710365e8e44923c320203f749da84323ffa3d063 --- sc/source/core/data/column3.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sc/source/core/data/column3.cxx b/sc/source/core/data/column3.cxx index aa84d8dce328..34a9506772e0 100644 --- a/sc/source/core/data/column3.cxx +++ b/sc/source/core/data/column3.cxx @@ -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;