mirror of
https://github.com/LibreOffice/core.git
synced 2025-07-26 15:45:26 +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.reset(new ScDocument(SCDOCMODE_CLIP));
|
||||||
mpDoc->ResetClip(mpDocument, SCTAB(0));
|
mpDoc->ResetClip(mpDocument, SCTAB(0));
|
||||||
mxXMLFetchThread = new XMLFetchThread(*mpDoc, mrDataSource.getURL(),
|
mxXMLFetchThread = new XMLFetchThread(
|
||||||
mrDataSource.getXMLImportParam(), mrDataSource.getID(),
|
*mpDoc, mrDataSource.getURL(), mrDataSource.getXMLImportParam(), mrDataSource.getID(),
|
||||||
std::bind(&XMLDataProvider::ImportFinished, this),
|
[this]() { this->ImportFinished(); }, std::vector(mrDataSource.getDataTransformation()));
|
||||||
std::vector(mrDataSource.getDataTransformation()));
|
|
||||||
mxXMLFetchThread->launch();
|
mxXMLFetchThread->launch();
|
||||||
|
|
||||||
if (mbDeterministic)
|
if (mbDeterministic)
|
||||||
|
Reference in New Issue
Block a user