sc/source/ui/dataprovider/htmldataprovider.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ff42527c897ee02c074e4a3fcff94972d7dec089
Author:     Simon Chenery <simon_chen...@yahoo.com>
AuthorDate: Sun Aug 24 15:10:19 2025 +0200
Commit:     David Gilbert <freedesk...@treblig.org>
CommitDate: Tue Aug 26 01:04:14 2025 +0200

    tdf#165233 replace std::bind with lambda in htmldataprovider.cxx
    
    Change-Id: I7169acc67c6f739d7ca237570dbaaeced68bdceb
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190134
    Reviewed-by: David Gilbert <freedesk...@treblig.org>
    Tested-by: Jenkins

diff --git a/sc/source/ui/dataprovider/htmldataprovider.cxx 
b/sc/source/ui/dataprovider/htmldataprovider.cxx
index 3f3300d320f1..29810a54384f 100644
--- a/sc/source/ui/dataprovider/htmldataprovider.cxx
+++ b/sc/source/ui/dataprovider/htmldataprovider.cxx
@@ -255,7 +255,7 @@ void HTMLDataProvider::Import()
     mpDoc.reset(new ScDocument(SCDOCMODE_CLIP));
     mpDoc->ResetClip(mpDocument, SCTAB(0));
     mxHTMLFetchThread = new HTMLFetchThread(*mpDoc, mrDataSource.getURL(), 
mrDataSource.getID(),
-            std::bind(&HTMLDataProvider::ImportFinished, this), 
std::vector(mrDataSource.getDataTransformation()));
+            [this]() { this->ImportFinished(); }, 
std::vector(mrDataSource.getDataTransformation()));
     mxHTMLFetchThread->launch();
 
     if (mbDeterministic)

Reply via email to