summaryrefslogtreecommitdiff
path: root/sw/source/ui/dialog/macassgn.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/dialog/macassgn.cxx')
-rw-r--r--sw/source/ui/dialog/macassgn.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/dialog/macassgn.cxx b/sw/source/ui/dialog/macassgn.cxx
index fed86baa024f..fe059dc04993 100644
--- a/sw/source/ui/dialog/macassgn.cxx
+++ b/sw/source/ui/dialog/macassgn.cxx
@@ -101,7 +101,7 @@ SfxEventNamesItem SwMacroAssignDlg::AddEvents( DlgEventType eType )
}
void SwMacroAssignDlg::INetFormatDlg(weld::Window* pParent, SwWrtShell& rSh, const SvxMacroItem& rItem,
- std::function<void(const SvxMacroItem&)> onItemSelectedFunc )
+ const std::function<void(const SvxMacroItem&)>& onItemSelectedFunc )
{
SfxItemSetFixed<RES_FRMMACRO, RES_FRMMACRO, SID_EVENTCONFIG, SID_EVENTCONFIG> aSet( rSh.GetAttrPool() );
aSet.Put( rItem );