summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorTamás Zolnai <tamas.zolnai@collabora.com>2017-04-28 22:16:27 +0200
committerTamás Zolnai <tamas.zolnai@collabora.com>2017-04-29 00:39:09 +0200
commit44555103217df34b218787f3dc6a2634b41fe52e (patch)
tree52c759ac82ffcf3978daf79e9a14a7074012dd0a /svx
parent38d9919432898c114d38022c2eb0d9fa9fea948c (diff)
tdf#107505: Impress - crash with two people co-editing one slide
Deleting outliner view removes the pointed Cursor (pTECursorMerker). Change-Id: Iac17386d1d02bf52bd5322073e49da05c6e89d9b Reviewed-on: https://gerrit.libreoffice.org/37085 Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/svdraw/svdedxv.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdedxv.cxx b/svx/source/svdraw/svdedxv.cxx
index 54bfa83f492e..c49fd72c03af 100644
--- a/svx/source/svdraw/svdedxv.cxx
+++ b/svx/source/svdraw/svdedxv.cxx
@@ -1224,7 +1224,7 @@ SdrEndTextEditKind SdrObjEditView::SdrEndTextEdit(bool bDontDeleteReally)
// and now the Outliner itself
if (!bTextEditDontDelete) delete pTEOutliner;
else pTEOutliner->Clear();
- if (pTEWin!=nullptr) {
+ if (bTextEditDontDelete && pTEWin!=nullptr) {
pTEWin->SetCursor(pTECursorMerker);
}
maHdlList.SetMoveOutside(false);