tdf#156967 cal basic, CSV import macro crashes

regression from
    commit ba4191ff0d
    Author: Noel Grandin <noelgrandin@gmail.com>
    Date:   Mon Jan 30 21:48:53 2023 +0200
    osl::Mutex->std::mutex in ImplEventAttacherManager

Change-Id: I1557d9b6f66628fae1f466198ac4a8961e85e5bb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156337
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
Noel Grandin 2023-08-31 14:01:17 +02:00
parent 1fb467ae24
commit b9d9f9ee71

View file

@ -252,7 +252,10 @@ Any SAL_CALL AttacherAllListener_Impl::approveFiring( const AllEventObject& Even
OInterfaceIteratorHelper4 aIt( l, mxManager->aScriptListeners );
while( aIt.hasMoreElements() )
{
// cannot hold lock over call to approveFiring, since it might recurse back into us
l.unlock();
aRet = aIt.next()->approveFiring( aScriptEvent );
l.lock();
try
{
Reference< XIdlClass > xListenerType = mxManager->getReflection(l)->