summaryrefslogtreecommitdiff
path: root/sw/source/core/crsr/crsrsh.cxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-03-04 10:53:28 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-03-09 10:16:12 +0100
commit7e189aa4b752efcc5a4ac275c48810c7314a871e (patch)
treec2aa40c9de7517eb7082485cb013405a880ddd36 /sw/source/core/crsr/crsrsh.cxx
parent5fb18e1517327a59bdc2ec68133281f0a9c5fcac (diff)
Use SwCrsrShell::SelTblBox()
The only user of SwCrsrShell::SelectCell() can actually use SelTblBox() instead. Change-Id: I286a3d8c25834dd08897f0cfc37a3ec31a89ce7a
Diffstat (limited to 'sw/source/core/crsr/crsrsh.cxx')
-rw-r--r--sw/source/core/crsr/crsrsh.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/crsr/crsrsh.cxx b/sw/source/core/crsr/crsrsh.cxx
index ce7dc5ceed2d..982a2ac99bbb 100644
--- a/sw/source/core/crsr/crsrsh.cxx
+++ b/sw/source/core/crsr/crsrsh.cxx
@@ -1417,11 +1417,11 @@ void SwCrsrShell::UpdateCrsr( sal_uInt16 eFlags, bool bIdleEnd )
// If the current cursor is in a table and point/mark in different boxes,
// then the table mode is active (also if it is already active: m_pTblCrsr)
SwPaM* pTstCrsr = getShellCrsr( true );
- if( ( pTstCrsr->HasMark() || eFlags & SwCrsrShell::SELECTCELL ) && !m_pBlockCrsr &&
+ if( pTstCrsr->HasMark() && !m_pBlockCrsr &&
mpDoc->IsIdxInTbl( pTstCrsr->GetPoint()->nNode ) &&
( m_pTblCrsr ||
pTstCrsr->GetNode( true ).StartOfSectionNode() !=
- pTstCrsr->GetNode( false ).StartOfSectionNode() || eFlags & SwCrsrShell::SELECTCELL ) && !mbSelectAll)
+ pTstCrsr->GetNode( false ).StartOfSectionNode() ) && !mbSelectAll)
{
SwShellCrsr* pITmpCrsr = getShellCrsr( true );
Point aTmpPt( pITmpCrsr->GetPtPos() );