Kaydet (Commit) 44555103 authored tarafından Tamás Zolnai's avatar Tamás Zolnai

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/37085Reviewed-by: 's avatarTamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: 's avatarTamás Zolnai <tamas.zolnai@collabora.com>
üst 38d99194
...@@ -1224,7 +1224,7 @@ SdrEndTextEditKind SdrObjEditView::SdrEndTextEdit(bool bDontDeleteReally) ...@@ -1224,7 +1224,7 @@ SdrEndTextEditKind SdrObjEditView::SdrEndTextEdit(bool bDontDeleteReally)
// and now the Outliner itself // and now the Outliner itself
if (!bTextEditDontDelete) delete pTEOutliner; if (!bTextEditDontDelete) delete pTEOutliner;
else pTEOutliner->Clear(); else pTEOutliner->Clear();
if (pTEWin!=nullptr) { if (bTextEditDontDelete && pTEWin!=nullptr) {
pTEWin->SetCursor(pTECursorMerker); pTEWin->SetCursor(pTECursorMerker);
} }
maHdlList.SetMoveOutside(false); maHdlList.SetMoveOutside(false);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment