[Libreoffice-commits] core.git: Branch 'feature/gsoc14-draw-chained-text-boxes' - svx/source
matteocam
matteo.campanelli at gmail.com
Wed Jul 8 07:33:41 PDT 2015
svx/source/svdraw/svdedxv.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 777fb6d2791b63daaf0a74ebe9157af7881c5079
Author: matteocam <matteo.campanelli at 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();
More information about the Libreoffice-commits
mailing list