diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2015-09-22 21:40:58 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-09-23 13:03:59 +0000 |
commit | f6924329e6d50edfa8d9c27292f5e402e7580a12 (patch) | |
tree | 064f5aa85def7f793c0044985f4b850b6115f514 | |
parent | d2a7abebf210cacf9ea357dd8b4a0772be7308df (diff) |
remove unused Link<> parameter
Change-Id: I9d8916b69e2e986ee1e30091cb046e7812a68ed1
Reviewed-on: https://gerrit.libreoffice.org/18795
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
-rw-r--r-- | sw/inc/doc.hxx | 3 | ||||
-rw-r--r-- | sw/source/core/doc/docbasic.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/inc/wrtsh.hxx | 3 | ||||
-rw-r--r-- | sw/source/uibase/wrtsh/wrtsh3.cxx | 5 |
4 files changed, 5 insertions, 8 deletions
diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx index e2966d200c89..2ddcc2d73ff9 100644 --- a/sw/inc/doc.hxx +++ b/sw/inc/doc.hxx @@ -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 diff --git a/sw/source/core/doc/docbasic.cxx b/sw/source/core/doc/docbasic.cxx index f6daa8ebd4a2..056ea7527565 100644 --- a/sw/source/core/doc/docbasic.cxx +++ b/sw/source/core/doc/docbasic.cxx @@ -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; diff --git a/sw/source/uibase/inc/wrtsh.hxx b/sw/source/uibase/inc/wrtsh.hxx index db852bc0e760..ed3b34be176b 100644 --- a/sw/source/uibase/inc/wrtsh.hxx +++ b/sw/source/uibase/inc/wrtsh.hxx @@ -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. diff --git a/sw/source/uibase/wrtsh/wrtsh3.cxx b/sw/source/uibase/wrtsh/wrtsh3.cxx index a3ef19ea5a5f..c361896e89dd 100644 --- a/sw/source/uibase/wrtsh/wrtsh3.cxx +++ b/sw/source/uibase/wrtsh/wrtsh3.cxx @@ -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 |