summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/macrodlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basctl/source/basicide/macrodlg.cxx')
-rw-r--r--basctl/source/basicide/macrodlg.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/basctl/source/basicide/macrodlg.cxx b/basctl/source/basicide/macrodlg.cxx
index 4070b5062de5..894c23a7ef67 100644
--- a/basctl/source/basicide/macrodlg.cxx
+++ b/basctl/source/basicide/macrodlg.cxx
@@ -679,8 +679,8 @@ IMPL_LINK_TYPED( MacroChooser, ButtonHdl, Button *, pButton, void )
if (SfxDispatcher* pDispatcher = GetDispatcher())
{
- pDispatcher->Execute(SID_BASICIDE_EDITMACRO,
- SfxCallMode::ASYNCHRON, &aInfoItem, nullptr);
+ pDispatcher->ExecuteList(SID_BASICIDE_EDITMACRO,
+ SfxCallMode::ASYNCHRON, { &aInfoItem });
}
EndDialog(Macro_Edit);
}
@@ -691,8 +691,8 @@ IMPL_LINK_TYPED( MacroChooser, ButtonHdl, Button *, pButton, void )
DeleteMacro();
if (SfxDispatcher* pDispatcher = GetDispatcher())
{
- pDispatcher->Execute( SID_BASICIDE_UPDATEMODULESOURCE,
- SfxCallMode::SYNCHRON, &aInfoItem, nullptr);
+ pDispatcher->ExecuteList( SID_BASICIDE_UPDATEMODULESOURCE,
+ SfxCallMode::SYNCHRON, { &aInfoItem });
}
CheckButtons();
UpdateFields();
@@ -720,8 +720,8 @@ IMPL_LINK_TYPED( MacroChooser, ButtonHdl, Button *, pButton, void )
if (SfxDispatcher* pDispatcher = GetDispatcher())
{
- pDispatcher->Execute(SID_BASICIDE_EDITMACRO,
- SfxCallMode::ASYNCHRON, &aInfoItem, nullptr);
+ pDispatcher->ExecuteList(SID_BASICIDE_EDITMACRO,
+ SfxCallMode::ASYNCHRON, { &aInfoItem });
}
StoreMacroDescription();
EndDialog(Macro_New);