summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/core/crsr/swcrsr.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sw/source/core/crsr/swcrsr.cxx b/sw/source/core/crsr/swcrsr.cxx
index dcd81fb89527..d27ebcac833a 100644
--- a/sw/source/core/crsr/swcrsr.cxx
+++ b/sw/source/core/crsr/swcrsr.cxx
@@ -448,10 +448,9 @@ sal_Bool SwCursor::IsSelOvr( int eFlags )
}
}
+ const SwTableNode* pPtNd = GetPoint()->nNode.GetNode().FindTableNode();
+ const SwTableNode* pMrkNd = GetMark()->nNode.GetNode().FindTableNode();
// both in no or in same table node
- const SwTableNode* pPtNd = pNd->FindTableNode();
- const SwTableNode* pMrkNd = pNd->FindTableNode();
- // beide in keinem oder beide im gleichen TableNode
if( ( !pMrkNd && !pPtNd ) || pPtNd == pMrkNd )
return sal_False;