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;


Reply via email to