framework/source/services/frame.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
New commits: commit 52225dfaeb78d2c99dfa7b2ef140183accf668a2 Author: Devashish Gupta <ashishkrgupta.haji...@gmail.com> AuthorDate: Fri Mar 21 02:59:03 2025 +0530 Commit: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> CommitDate: Fri Mar 21 06:30:26 2025 +0100 tdf#165233 Use lambdas instead of std::bind Change-Id: Ie6a8c76bae10f52d8e97645d71e2825dd59c52c8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183184 Tested-by: Jenkins Tested-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> diff --git a/framework/source/services/frame.cxx b/framework/source/services/frame.cxx index ff6d73bd9369..54c33bb96058 100644 --- a/framework/source/services/frame.cxx +++ b/framework/source/services/frame.cxx @@ -588,9 +588,10 @@ css::uno::Reference< css::lang::XComponent > SAL_CALL XFrameImpl::loadComponentF // another thread, leading to an std::abort() at the end. SolarMutexGuard g; - return vcl::solarthread::syncExecute(std::bind(&LoadEnv::loadComponentFromURL, xThis, - m_xContext, sURL, sTargetFrameName, - nSearchFlags, lArguments)); + return vcl::solarthread::syncExecute([this, xThis, sURL, sTargetFrameName, nSearchFlags, lArguments] { + return LoadEnv::loadComponentFromURL(xThis, m_xContext, sURL, sTargetFrameName, + nSearchFlags, lArguments); + }); } else return LoadEnv::loadComponentFromURL(xThis, m_xContext, sURL, sTargetFrameName,