diff options
author | Juergen Funk <juergen.funk_ml@cib.de> | 2014-09-17 16:31:20 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <s.mehrbrodt@gmail.com> | 2014-09-22 08:01:57 +0000 |
commit | d58bea0ffa2a2fe79103ab7aa743aea63e27a0fd (patch) | |
tree | c297c1cb8e539dd0c5724039c8ee416cbbf1304d /sw/inc | |
parent | 6528a6ab7bee98503be763bcae7c57a4d0129ca1 (diff) |
Fix fdo#38884 Improve Up/Down movement in writer
- It was provided, but the X-Position was reset after the cursor Up/Down
- But in the Table is the X-Position not right -> other bug
Change-Id: I2d70b7dc4ffa1e2612330d9b30ea5d916f5a9439
Reviewed-on: https://gerrit.libreoffice.org/11500
Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/crsrsh.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/crsrsh.hxx b/sw/inc/crsrsh.hxx index 93083005e06f..2fd984172ba1 100644 --- a/sw/inc/crsrsh.hxx +++ b/sw/inc/crsrsh.hxx @@ -352,7 +352,7 @@ public: // start parenthesing, hide SV-Cursor and selected areas void StartAction(); // end parenthesing, show SV-Cursor and selected areas - void EndAction( const bool bIdleEnd = false ); + void EndAction( const bool bIdleEnd = false, const bool DoSetPosX = false ); // basic cursor travelling long GetUpDownX() const { return m_nUpDownX; } @@ -453,7 +453,7 @@ public: #else void SttCrsrMove() { ++m_nCrsrMove; StartAction(); } void EndCrsrMove( const bool bIdleEnd = false ) - { EndAction( bIdleEnd ); --m_nCrsrMove; } + { EndAction( bIdleEnd, true ); --m_nCrsrMove; } #endif /* |