summaryrefslogtreecommitdiff
path: root/basctl/source/basicide
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-01-02 17:18:08 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-01-02 18:17:26 +0100
commit0d79068307828c3e447611a52eb36cbf34ea1f23 (patch)
tree8e6b5ae7f4d772a2fe64ad3fa401c3074a26d3ab /basctl/source/basicide
parent5cca6d1daf7b25a1e134beaa77073e8ba7dfbf05 (diff)
Resolve deprecated implicit capture of *this by reference in C++20
...which got freshly introduced after c56a8280bdd605f77f0075a7f2bfa474aa2a26e5 "Resolve deprecated implicit capture of *this by reference in C++20" Change-Id: I15659f2cb7d940ac2310f39f76f084265357854e Reviewed-on: https://gerrit.libreoffice.org/65810 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'basctl/source/basicide')
-rw-r--r--basctl/source/basicide/macrodlg.cxx2
-rw-r--r--basctl/source/basicide/moduldl2.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/basctl/source/basicide/macrodlg.cxx b/basctl/source/basicide/macrodlg.cxx
index fb2500aad587..7f2ad1fb7d67 100644
--- a/basctl/source/basicide/macrodlg.cxx
+++ b/basctl/source/basicide/macrodlg.cxx
@@ -742,7 +742,7 @@ IMPL_LINK(MacroChooser, ButtonHdl, weld::Button&, rButton, void)
m_xBasicBox->get_selected(m_xBasicBoxIter.get());
EntryDescriptor aDesc = m_xBasicBox->GetEntryDescriptor(m_xBasicBoxIter.get());
VclPtrInstance< OrganizeDialog > pDlg( nullptr, 0, aDesc ); //TODO
- pDlg->StartExecuteAsync([=](sal_Int32 nRet){
+ pDlg->StartExecuteAsync([this](sal_Int32 nRet){
if ( nRet ) // not only closed
{
m_xDialog->response(Macro_Edit);
diff --git a/basctl/source/basicide/moduldl2.cxx b/basctl/source/basicide/moduldl2.cxx
index 5bbcd1a5dccd..9e351bac3ff4 100644
--- a/basctl/source/basicide/moduldl2.cxx
+++ b/basctl/source/basicide/moduldl2.cxx
@@ -831,7 +831,7 @@ void LibPage::InsertLib()
if ( aExtension != aLibExtension && aExtension != aContExtension )
pLibDlg->EnableReference(false);
- pLibDlg->StartExecuteAsync([=](sal_Int32 nResult)
+ pLibDlg->StartExecuteAsync([aContExtension, aDlgURLObj, aExtension, aLibExtension, aModURLObj, pLibDlg, xDlgLibContImport, xModLibContImp, xModLibContImport, this](sal_Int32 nResult)
{
if (!nResult )
return;