[Libreoffice-commits] core.git: Branch 'aoo/trunk' - sw/source

Oliver-Rainer Wittmann orw at apache.org
Tue Dec 10 08:08:05 PST 2013


 sw/source/core/crsr/swcrsr.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 382814ccb30bfe71f093e55e23802447caca235d
Author: Oliver-Rainer Wittmann <orw at apache.org>
Date:   Tue Dec 10 15:24:52 2013 +0000

    33737: correction: assure the selections does not start/end inside a table while end/start of the selection is outside the table

diff --git a/sw/source/core/crsr/swcrsr.cxx b/sw/source/core/crsr/swcrsr.cxx
index 9dd182a..6922b16 100644
--- a/sw/source/core/crsr/swcrsr.cxx
+++ b/sw/source/core/crsr/swcrsr.cxx
@@ -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;


More information about the Libreoffice-commits mailing list