You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by or...@apache.org on 2013/12/10 16:24:52 UTC
svn commit: r1549864 - /openoffice/trunk/main/sw/source/core/crsr/swcrsr.cxx
Author: orw
Date: Tue Dec 10 15:24:52 2013
New Revision: 1549864
URL: http://svn.apache.org/r1549864
Log:
33737: correction: assure the selections does not start/end inside a table while end/start of the selection is outside the table
Modified:
openoffice/trunk/main/sw/source/core/crsr/swcrsr.cxx
Modified: openoffice/trunk/main/sw/source/core/crsr/swcrsr.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sw/source/core/crsr/swcrsr.cxx?rev=1549864&r1=1549863&r2=1549864&view=diff
==============================================================================
--- openoffice/trunk/main/sw/source/core/crsr/swcrsr.cxx (original)
+++ openoffice/trunk/main/sw/source/core/crsr/swcrsr.cxx Tue Dec 10 15:24:52 2013
@@ -471,8 +471,8 @@ sal_Bool SwCursor::IsSelOvr( int eFlags
}
}
- const SwTableNode* pPtNd = pNd->FindTableNode();
- const SwTableNode* pMrkNd = pNd->FindTableNode();
+ const SwTableNode* pPtNd = GetPoint()->nNode.GetNode().FindTableNode();
+ const SwTableNode* pMrkNd = GetMark()->nNode.GetNode().FindTableNode();
// beide in keinem oder beide im gleichen TableNode
if( ( !pMrkNd && !pPtNd ) || pPtNd == pMrkNd )
return sal_False;