tdf#165233 replace std::bind with lambda in csvdataprovider.cxx
Change-Id: I881436228e9585acdbcfb5cc9b12ec8d92cc47df Reviewed-on: https://gerrit.libreoffice.org/c/core/+/189018 Tested-by: Jenkins Reviewed-by: David Gilbert <freedesktop@treblig.org>
This commit is contained in:
committed by
David Gilbert
parent
3a5bddfa56
commit
0df10f6827
@@ -152,7 +152,8 @@ void CSVDataProvider::Import()
|
||||
|
||||
mpDoc.reset(new ScDocument(SCDOCMODE_CLIP));
|
||||
mpDoc->ResetClip(mpDocument, SCTAB(0));
|
||||
mxCSVFetchThread = new CSVFetchThread(*mpDoc, mrDataSource.getURL(), std::bind(&CSVDataProvider::ImportFinished, this), std::vector(mrDataSource.getDataTransformation()));
|
||||
mxCSVFetchThread = new CSVFetchThread(*mpDoc, mrDataSource.getURL(),
|
||||
[this]() { this->ImportFinished(); }, std::vector(mrDataSource.getDataTransformation()));
|
||||
mxCSVFetchThread->launch();
|
||||
|
||||
if (mbDeterministic)
|
||||
|
||||
Reference in New Issue
Block a user