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

New commits:
commit 777fb6d2791b63daaf0a74ebe9157af7881c5079
Author: matteocam <matteo.campane...@gmail.com>
Date:   Wed Jul 8 10:31:41 2015 -0400

    Change asserts to test+return for cursor pos
    
    Change-Id: Ief817c654ea5ac2b1cbc3ab535e9478dcb242724

diff --git a/svx/source/svdraw/svdedxv.cxx b/svx/source/svdraw/svdedxv.cxx
index 04bf0df..3ca380d 100644
--- a/svx/source/svdraw/svdedxv.cxx
+++ b/svx/source/svdraw/svdedxv.cxx
@@ -529,8 +529,8 @@ void SdrObjEditView::ImpMoveCursorAfterChainingEvent()
     if (!pTextObj->IsChainable() || !pTextObj->GetNextLinkInChain())
         return;
 
-    assert(maCursorEvent);
-    assert(maPreChainingSel);
+    if(!maCursorEvent || !maPreChainingSel)
+        return;
 
     SdrTextObj *pNextLink = pTextObj->GetNextLinkInChain();
     OutlinerView* pOLV = GetTextEditOutlinerView();
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to