diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-16 12:36:22 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-16 14:20:27 +0200 |
commit | 6df22f0ec513415cf6c920c1f8063dabe7303c06 (patch) | |
tree | 59d4d9205c51da0ffc14d895abdf00c1a4b8e8b7 /scripting/source/vbaevents | |
parent | a6f29aae36e5b07d877d7ea833b6d06b49b5574a (diff) |
loplugin:checkunusedparams various
Change-Id: I5d1cc807134230d86e0226a12fada204004312d3
Reviewed-on: https://gerrit.libreoffice.org/37675
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'scripting/source/vbaevents')
-rw-r--r-- | scripting/source/vbaevents/eventhelper.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripting/source/vbaevents/eventhelper.cxx b/scripting/source/vbaevents/eventhelper.cxx index ea1128344ec4..adb8deeae931 100644 --- a/scripting/source/vbaevents/eventhelper.cxx +++ b/scripting/source/vbaevents/eventhelper.cxx @@ -740,7 +740,7 @@ EventListener::getPropertySetInfo( ) //decide if the control should execute the event -bool ApproveAll(const ScriptEvent&, void const * ) +bool ApproveAll(SAL_UNUSED_PARAMETER const ScriptEvent&, SAL_UNUSED_PARAMETER void const * ) { return true; } @@ -783,7 +783,7 @@ bool DenyType(const ScriptEvent& evt, void const * pPara) //when mouse is moving, either the mouse button is pressed or some key is pressed can trigger the OO mouseDragged event, //the former should be denied, and the latter allowed, only by doing so can the VBA MouseMove event when the "Shift" key is //pressed can be correctly triggered -bool DenyMouseDrag(const ScriptEvent& evt, void const * ) +bool DenyMouseDrag(const ScriptEvent& evt, SAL_UNUSED_PARAMETER void const * ) { awt::MouseEvent aEvent; evt.Arguments[ 0 ] >>= aEvent; |