Kaydet (Commit) f6924329 authored tarafından Noel Grandin's avatar Noel Grandin

remove unused Link<> parameter

Change-Id: I9d8916b69e2e986ee1e30091cb046e7812a68ed1
Reviewed-on: https://gerrit.libreoffice.org/18795Reviewed-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
Tested-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
üst d2a7abeb
......@@ -1403,8 +1403,7 @@ public:
// Call into intransparent Basic / JavaScript.
sal_uInt16 CallEvent( sal_uInt16 nEvent, const SwCallMouseEvent& rCallEvent,
bool bChkPtr = false, SbxArray* pArgs = 0,
const Link<>* pCallBack = 0 );
bool bChkPtr = false, SbxArray* pArgs = 0 );
/** Adjust left margin via object bar (similar to adjustment of numerations).
One can either change the margin "by" adding or subtracting a given
......
......@@ -131,7 +131,7 @@ bool SwDoc::ExecMacro( const SvxMacro& rMacro, OUString* pRet, SbxArray* pArgs )
}
sal_uInt16 SwDoc::CallEvent( sal_uInt16 nEvent, const SwCallMouseEvent& rCallEvent,
bool bCheckPtr, SbxArray* pArgs, const Link<>* )
bool bCheckPtr, SbxArray* pArgs )
{
if( !mpDocShell ) // we can't do that without a DocShell!
return 0;
......
......@@ -419,8 +419,7 @@ typedef bool (SwWrtShell:: *FNSimpleMove)();
void ExecMacro( const SvxMacro& rMacro, OUString* pRet = 0, SbxArray* pArgs = 0 );
// call into the dark Basic/JavaScript
sal_uInt16 CallEvent( sal_uInt16 nEvent, const SwCallMouseEvent& rCallEvent,
bool bCheckPtr = false, SbxArray* pArgs = 0,
const Link<>* pCallBack = 0 );
bool bCheckPtr = false, SbxArray* pArgs = 0 );
// a click at the given field. the cursor is on it.
// execute the predefined actions.
......
......@@ -159,10 +159,9 @@ void SwWrtShell::ExecMacro( const SvxMacro& rMacro, OUString* pRet, SbxArray* pA
}
sal_uInt16 SwWrtShell::CallEvent( sal_uInt16 nEvent, const SwCallMouseEvent& rCallEvent,
bool bChkPtr, SbxArray* pArgs,
const Link<>* pCallBack )
bool bChkPtr, SbxArray* pArgs)
{
return GetDoc()->CallEvent( nEvent, rCallEvent, bChkPtr, pArgs, pCallBack );
return GetDoc()->CallEvent( nEvent, rCallEvent, bChkPtr, pArgs );
}
// If a util::URL-Button is selected, return its util::URL
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment