sc/source/ui/unoobj/celllistsource.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
New commits: commit 3976c94feecb00ee80a48009086d0850e32891f1 Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Tue Apr 2 11:30:31 2024 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Tue Apr 2 14:37:44 2024 +0200 fix assert in loading forum-de3-11775.ods regression from commit a95bff116e1da140b9abe9742ceeb9a3caed43d5 Author: Noel Grandin <noel.gran...@collabora.co.uk> Date: Tue Mar 26 15:42:52 2024 +0200 convert OCellListSource to comphelper::WeakComponentImplHelper Change-Id: Ib8af6627c641c73d9e4e6aaa43d694084a2854ea Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165671 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/sc/source/ui/unoobj/celllistsource.cxx b/sc/source/ui/unoobj/celllistsource.cxx index 21c98d72f894..446330dd832d 100644 --- a/sc/source/ui/unoobj/celllistsource.cxx +++ b/sc/source/ui/unoobj/celllistsource.cxx @@ -309,9 +309,8 @@ namespace calc aEvent.Source.set(*this); m_aListEntryListeners.forEach(aGuard, - [&aEvent, &aGuard] (const css::uno::Reference<css::form::binding::XListEntryListener>& l) + [&aEvent] (const css::uno::Reference<css::form::binding::XListEntryListener>& l) { - aGuard.unlock(); try { l->allEntriesChanged( aEvent ); @@ -324,7 +323,6 @@ namespace calc { TOOLS_WARN_EXCEPTION( "sc", "OCellListSource::notifyModified: caught a (non-runtime) exception!" ); } - aGuard.lock(); }); }