summaryrefslogtreecommitdiff
path: root/sc/source/core/data/column3.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-05-29 15:33:51 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-05-29 15:34:50 +0100
commitb81cd3d1162f70b548b619fa92ce81275679bdbd (patch)
tree50b6303e4b6cda72a358e3ea9f51303e5f11c12d /sc/source/core/data/column3.cxx
parentf48f5138ecedd3bb9ec0b454b9fe216001610156 (diff)
MAXROWCOUNT-1 -> MAXROW, same number but tidier
Change-Id: I710365e8e44923c320203f749da84323ffa3d063
Diffstat (limited to 'sc/source/core/data/column3.cxx')
-rw-r--r--sc/source/core/data/column3.cxx2
1 files changed, 1 insertions, 1 deletions
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;