From 258df6f41d89a606a980942df6337d446634c0a6 Mon Sep 17 00:00:00 2001 From: Tamás Zolnai Date: Sat, 1 Jul 2017 14:48:22 +0200 Subject: tdf#107505: Impress - crash with two people co-editing one slide MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In tiledrendering mode cursor inside shapes are not handled very well now. Different LO instances manipulates the same cursor instead of having one separate cursor for all instances (as in case of simple text editing in Writer). Crashes caused by that one cursor is owned (created and destroyed) by one LO instance but used by an other instance in the meantime. We can avoid this by not making this cursor available to the other instances. Cursor is hidden anyway so don't need to have it set to the corresponding Window. Change-Id: Id78f79e73eda88f3c2c6aa7f534c32f3f8aba174 Reviewed-on: https://gerrit.libreoffice.org/39432 Tested-by: Jenkins Reviewed-by: Tamás Zolnai --- svx/source/svdraw/svdedxv.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/svx/source/svdraw/svdedxv.cxx b/svx/source/svdraw/svdedxv.cxx index cb7fa37892f1..04e3b34f8aff 100644 --- a/svx/source/svdraw/svdedxv.cxx +++ b/svx/source/svdraw/svdedxv.cxx @@ -908,6 +908,7 @@ bool SdrObjEditView::SdrBeginTextEdit( { OutlinerView* pOutlView = ImpMakeOutlinerView(static_cast(&rOutDev), nullptr); pOutlView->HideCursor(); + static_cast(&rOutDev)->SetCursor(nullptr); pTextEditOutliner->InsertView(pOutlView); } } -- cgit