diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-29 15:33:51 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-29 15:34:50 +0100 |
commit | b81cd3d1162f70b548b619fa92ce81275679bdbd (patch) | |
tree | 50b6303e4b6cda72a358e3ea9f51303e5f11c12d /sc | |
parent | f48f5138ecedd3bb9ec0b454b9fe216001610156 (diff) |
MAXROWCOUNT-1 -> MAXROW, same number but tidier
Change-Id: I710365e8e44923c320203f749da84323ffa3d063
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/column3.cxx | 2 |
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; |