svx/source/svdraw/svdedxv.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit ba90284faa3fe85ad061ff72a9f9cca54ff8fb2d
Author: matteocam <matteo.campane...@gmail.com>
Date:   Wed Jul 29 19:12:07 2015 +0200

    Check for links instead of chainabity when handling key input
    
    Change-Id: Id8a7892ab5465b85a79a4347a6653de8c975416c

diff --git a/svx/source/svdraw/svdedxv.cxx b/svx/source/svdraw/svdedxv.cxx
index 9324ffd..02f7df0 100644
--- a/svx/source/svdraw/svdedxv.cxx
+++ b/svx/source/svdraw/svdedxv.cxx
@@ -543,6 +543,7 @@ void 
SdrObjEditView::ImpMoveCursorAfterChainingEvent(TextChainCursorManager *pCu
 
     SdrTextObj* pTextObj = dynamic_cast<SdrTextObj*>(mxTextEditObj.get());
 
+    // Check if it has links to move it to
     if (!pTextObj->IsChainable())
         return;
 
@@ -1288,7 +1289,7 @@ TextChainCursorManager 
*SdrObjEditView::ImpHandleMotionThroughBoxesKeyInput(
     else
         return NULL;
 
-    if (!pTextObj->IsChainable())
+    if (!pTextObj->GetNextLinkInChain() && !pTextObj->GetPrevLinkInChain())
         return NULL;
 
     TextChainCursorManager *pCursorManager = new TextChainCursorManager(this, 
pTextObj);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to