diff options
Diffstat (limited to 'sw/source/core/crsr/crsrsh.cxx')
-rw-r--r-- | sw/source/core/crsr/crsrsh.cxx | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/sw/source/core/crsr/crsrsh.cxx b/sw/source/core/crsr/crsrsh.cxx index e02b02b9c187..bb62e4b535f1 100644 --- a/sw/source/core/crsr/crsrsh.cxx +++ b/sw/source/core/crsr/crsrsh.cxx @@ -240,16 +240,11 @@ void SwCursorShell::StartAction() SwViewShell::StartAction(); // to the SwViewShell } -void SwCursorShell::EndAction( const bool bIdleEnd, const bool DoSetPosX ) +void SwCursorShell::EndAction( const bool bIdleEnd ) { comphelper::FlagRestorationGuard g(mbSelectAll, StartsWithTable() && ExtendedSelectedAll()); bool bVis = m_bSVCursorVis; - sal_uInt16 eFlags = SwCursorShell::CHKRANGE; - if ( !DoSetPosX ) - eFlags |= SwCursorShell::UPDOWN; - - // Idle-formatting? if( bIdleEnd && Imp()->GetRegion() ) { @@ -277,6 +272,7 @@ void SwCursorShell::EndAction( const bool bIdleEnd, const bool DoSetPosX ) return; } + sal_uInt16 eFlags = SwCursorShell::CHKRANGE; if ( !bIdleEnd ) eFlags |= SwCursorShell::SCROLLWIN; @@ -316,7 +312,7 @@ void SwCursorShell::EndCursorMove( const bool bIdleEnd ) #ifdef DBG_UTIL OSL_ENSURE( m_nCursorMove, "EndCursorMove() without SttCursorMove()." ); #endif - EndAction( bIdleEnd, true ); + EndAction( bIdleEnd ); --m_nCursorMove; #ifdef DBG_UTIL if( !m_nCursorMove ) |