diff options
author | Mihaela Kedikova <misheto@openoffice.org> | 2010-04-30 10:22:04 +0200 |
---|---|---|
committer | Mihaela Kedikova <misheto@openoffice.org> | 2010-04-30 10:22:04 +0200 |
commit | 771a23df1757f5aecbd2cb722e15691e9a6f28ff (patch) | |
tree | 4fe9cc7685b5c04ad43519cd19f3eb38eab2096c /automation | |
parent | 39ca8c85709c3c329736d1a3d5309224e323eaf2 (diff) |
gridcontrol_03: bug fixes
Diffstat (limited to 'automation')
-rw-r--r-- | automation/source/server/statemnt.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/automation/source/server/statemnt.cxx b/automation/source/server/statemnt.cxx index 89be43de60ab..2d1cccd9fc51 100644 --- a/automation/source/server/statemnt.cxx +++ b/automation/source/server/statemnt.cxx @@ -6271,7 +6271,7 @@ protected: ::svt::table::RowPos nLastPos; while ( ( nLastPos = pTC->GetCurrentRow( aPos ) ) != nNr1-1 && nStep > 0 ) { - if ( nLastPos > nNr1-1 ) + if ( nLastPos > nNr1-1 || nLastPos == ROW_INVALID ) aPos.Y() -= nStep; else aPos.Y() += nStep; |