From 4304947164bbcd3fea758df491a730b01d578be2 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 21 Jan 2022 09:10:08 +0200 Subject: fix opengl slide transition regression from commit 62efb188668a3296591dcfa3658185e2f982e356 use comphelper::WeakComponentImplHelper in SlideShowVie Switch notifyEach to leave the mutex locked after being called, because that seems to compose better - because after a call it is in the same state that was when we entered the call. Change-Id: I42e80cc7be1b65ed8cab24ab7c11210e056d916d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128723 Tested-by: Jenkins Reviewed-by: Noel Grandin --- comphelper/source/misc/instancelocker.cxx | 1 - 1 file changed, 1 deletion(-) (limited to 'comphelper/source') diff --git a/comphelper/source/misc/instancelocker.cxx b/comphelper/source/misc/instancelocker.cxx index 347ff513cb6e..2b1e89604e6a 100644 --- a/comphelper/source/misc/instancelocker.cxx +++ b/comphelper/source/misc/instancelocker.cxx @@ -72,7 +72,6 @@ void SAL_CALL OInstanceLocker::dispose() lang::EventObject aSource( static_cast< ::cppu::OWeakObject* >(this) ); m_aListenersContainer.disposeAndClear( aGuard, aSource ); - aGuard.lock(); if ( m_xLockListener.is() ) { auto tmp = std::move(m_xLockListener); -- cgit