diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-22 10:44:20 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-22 14:04:59 +0100 |
commit | 70c15946ac5b2f481fed3c6e79f496196feb1b22 (patch) | |
tree | 6c0babb9a0f5df1518c460dbeb9e7eef3246875e /sw/source | |
parent | b6c0356ac9d59a4599d15f8d2f001d39010b3e48 (diff) |
StartExecuteAsync doesn't need a second param
we can just use this to store a keep-alive reference in AsyncContext
Change-Id: I0152aef5386aa9753b48afdfc958790f10d13560
Reviewed-on: https://gerrit.libreoffice.org/48294
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/uibase/app/docst.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/shells/textsh1.cxx | 4 | ||||
-rw-r--r-- | sw/source/uibase/shells/txtnum.cxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/uibase/app/docst.cxx b/sw/source/uibase/app/docst.cxx index 4361dd18068c..8719f7444ece 100644 --- a/sw/source/uibase/app/docst.cxx +++ b/sw/source/uibase/app/docst.cxx @@ -868,7 +868,7 @@ void SwDocShell::Edit( if (pRequest) pRequest->Done(); - }, pDlg); + }); } else { diff --git a/sw/source/uibase/shells/textsh1.cxx b/sw/source/uibase/shells/textsh1.cxx index b7e001cbd769..2266877d68e0 100644 --- a/sw/source/uibase/shells/textsh1.cxx +++ b/sw/source/uibase/shells/textsh1.cxx @@ -210,7 +210,7 @@ void sw_CharDialog(SwWrtShell &rWrtSh, bool bUseDialog, sal_uInt16 nSlot, const { sw_CharDialogResult(pDlg->GetOutputItemSet(), rWrtSh, pCoreSet, bSel, bSelectionPut, pRequest.get()); } - }, pDlg); + }); } else if (pArgs) { @@ -1125,7 +1125,7 @@ void SwTextShell::Execute(SfxRequest &rReq) sw_ParagraphDialogResult(pSet, rWrtSh, *pRequest, pPaM); } - }, pDlg); + }); } } break; diff --git a/sw/source/uibase/shells/txtnum.cxx b/sw/source/uibase/shells/txtnum.cxx index 866c439b8c6a..6a715a75ae94 100644 --- a/sw/source/uibase/shells/txtnum.cxx +++ b/sw/source/uibase/shells/txtnum.cxx @@ -237,7 +237,7 @@ void SwTextShell::ExecEnterNum(SfxRequest &rReq) } else if (RET_USER == nResult) GetShell().DelNumRules(); - }, pDlg); + }); } break; |