summaryrefslogtreecommitdiff
path: root/sc/source/ui
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-01-26 15:59:46 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-01-26 17:14:19 +0100
commit385bd85b20b9efff981e7e5cd063a01d39e1e45a (patch)
treeb10a36910b8b2141f55e2a85832ec02119e7bf27 /sc/source/ui
parent083c93d406a9653922e9510509333f7ee64049fa (diff)
tdf#146991 Insert chart -> crash
regression from commit a2eaf99e46f370ffb3b73828c2bdc53dc193b9a4 Author: Noel Grandin <noel.grandin@collabora.co.uk> Date: Fri Jan 14 10:56:50 2022 +0200 make comphelper::OInterfaceContainerHelper4 more threadsafe Change-Id: I259d24a3f0c710222544797728c5f40ff299e50b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128987 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui')
-rw-r--r--sc/source/ui/Accessibility/DrawModelBroadcaster.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/sc/source/ui/Accessibility/DrawModelBroadcaster.cxx b/sc/source/ui/Accessibility/DrawModelBroadcaster.cxx
index 043aa479fdf1..24b455e30408 100644
--- a/sc/source/ui/Accessibility/DrawModelBroadcaster.cxx
+++ b/sc/source/ui/Accessibility/DrawModelBroadcaster.cxx
@@ -99,7 +99,6 @@ void ScDrawModelBroadcaster::Notify( SfxBroadcaster&,
{
auto pSdrObject = const_cast<SdrObject*>(pSdrHint->GetObject());
uno::Reference<drawing::XShape> xShape(pSdrObject->getUnoShape(), uno::UNO_QUERY);
- aGuard.lock();
auto it = maShapeListeners.find(xShape);
if (it != maShapeListeners.end())
it->second->notifyShapeEvent(aEvent);