mirror of
https://github.com/LibreOffice/core.git
synced 2025-07-23 04:42:03 +00:00
tdf#165233 replace std::bind with lambda in xmldataprovider.cxx
Also apply clang-format to changes, requested by git commit hook. Change-Id: Id71d79b736b4dc2a5be5908d59d221ab7ffd54d5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/186433 Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Tested-by: Jenkins
This commit is contained in:

committed by
Ilmari Lauhakangas

parent
9b79ae1161
commit
01541ca943
@ -103,10 +103,9 @@ void XMLDataProvider::Import()
|
||||
|
||||
mpDoc.reset(new ScDocument(SCDOCMODE_CLIP));
|
||||
mpDoc->ResetClip(mpDocument, SCTAB(0));
|
||||
mxXMLFetchThread = new XMLFetchThread(*mpDoc, mrDataSource.getURL(),
|
||||
mrDataSource.getXMLImportParam(), mrDataSource.getID(),
|
||||
std::bind(&XMLDataProvider::ImportFinished, this),
|
||||
std::vector(mrDataSource.getDataTransformation()));
|
||||
mxXMLFetchThread = new XMLFetchThread(
|
||||
*mpDoc, mrDataSource.getURL(), mrDataSource.getXMLImportParam(), mrDataSource.getID(),
|
||||
[this]() { this->ImportFinished(); }, std::vector(mrDataSource.getDataTransformation()));
|
||||
mxXMLFetchThread->launch();
|
||||
|
||||
if (mbDeterministic)
|
||||
|
Reference in New Issue
Block a user