summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-07-14 17:14:58 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-07-14 20:32:22 +0200
commit45415384b38156d2c83599e5c91de376c0c788ac (patch)
treeebbc27d2dde24a764f0c746218f5346a29a784da /sw
parentf8aa265698858f45378195282f5d666a8f59d44e (diff)
rMarkList shall presumably be captured by reference
...in the lambda introduced by f86578129a14e2e70a50a9e13afaed7ad522463a "lokdialog: Convert the Format -> Position and Size... to async exec for sw" Change-Id: Ie1ead8f21ac0466001a37cfc75c17bd21d26e7e7 Reviewed-on: https://gerrit.libreoffice.org/75586 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/shells/drwbassh.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/shells/drwbassh.cxx b/sw/source/uibase/shells/drwbassh.cxx
index 2b6a66393cb1..4cc10c9be1d1 100644
--- a/sw/source/uibase/shells/drwbassh.cxx
+++ b/sw/source/uibase/shells/drwbassh.cxx
@@ -239,7 +239,7 @@ void SwDrawBaseShell::Execute(SfxRequest const &rReq)
pDlg->SetInputSet( &aSet );
- pDlg->StartExecuteAsync([=](sal_Int32 nResult){
+ pDlg->StartExecuteAsync([=, &rMarkList](sal_Int32 nResult){
if (nResult == RET_OK)
{
SwFormatVertOrient aVOrientFinal(pFrameFormat->GetFormatAttr(RES_VERT_ORIENT));