summaryrefslogtreecommitdiff
path: root/sc/inc/table.hxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2018-07-04 11:34:02 +0200
committerEike Rathke <erack@redhat.com>2018-07-04 14:11:08 +0200
commit5d774434743fbc40a5d19daadc9d5b73d2552c41 (patch)
tree560087483b2f54052c161389db5dfb5e1de35727 /sc/inc/table.hxx
parentd05b7b32d9ecb6fcb4a268eb68cdcee09bafa6dd (diff)
Resolves: tdf#117458 let Enter move left/right again, tdf#68290 follow-up
Regression from commit b0a391d62c1df7525069a02913a52af940d92ecc CommitDate: Tue Jan 30 23:12:04 2018 +0100 Circular movement of cursor in a table with hidden columns/rows, tdf#68290 related where for nMoveX case nNewX - nCurX and nNewY - nCurY were both 0. Also don't abuse the bMarked flag for GetNextPos() as bUnprotected if nothing is marked, in which case also bKeepSel doesn't make sense. Change-Id: I59af09f1cfa397e68ce16d151ba7eee6e6598a75 Reviewed-on: https://gerrit.libreoffice.org/56935 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
Diffstat (limited to 'sc/inc/table.hxx')
-rw-r--r--sc/inc/table.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx
index 2065ce2b130f..97f1f44fc08f 100644
--- a/sc/inc/table.hxx
+++ b/sc/inc/table.hxx
@@ -589,7 +589,7 @@ public:
bool bMarked, bool bUnprotected, const ScMarkData& rMark ) const;
bool SkipRow( const SCCOL rCol, SCROW& rRow, const SCROW nMovY, const ScMarkData& rMark,
- const bool bUp, const SCROW nUsedY, const bool bSheetProtected ) const;
+ const bool bUp, const SCROW nUsedY, const bool bMarked, const bool bSheetProtected ) const;
void LimitChartArea( SCCOL& rStartCol, SCROW& rStartRow, SCCOL& rEndCol, SCROW& rEndRow ) const;
bool HasData( SCCOL nCol, SCROW nRow ) const;