From f6abc3f97e74df0c4ae05abf4075085a9b9c1cc4 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sun, 2 Jul 2017 22:30:49 +0200 Subject: loplugin:casttovoid: scripting Change-Id: I9f77eca5a80ad4e9d3cee8f7400a245f5fa78bbb --- scripting/source/protocolhandler/scripthandler.cxx | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) (limited to 'scripting/source/protocolhandler/scripthandler.cxx') diff --git a/scripting/source/protocolhandler/scripthandler.cxx b/scripting/source/protocolhandler/scripthandler.cxx index f6a0366b1494..0dadac6520fb 100644 --- a/scripting/source/protocolhandler/scripthandler.cxx +++ b/scripting/source/protocolhandler/scripthandler.cxx @@ -85,11 +85,8 @@ void SAL_CALL ScriptProtocolHandler::initialize( } Reference< XDispatch > SAL_CALL ScriptProtocolHandler::queryDispatch( - const URL& aURL, const OUString& sTargetFrameName, sal_Int32 nSearchFlags ) + const URL& aURL, const OUString&, sal_Int32 ) { - (void)sTargetFrameName; - (void)nSearchFlags; - Reference< XDispatch > xDispatcher; // get scheme of url @@ -307,20 +304,14 @@ const URL& aURL, const Sequence< PropertyValue >& lArgs ) } void SAL_CALL ScriptProtocolHandler::addStatusListener( -const Reference< XStatusListener >& xControl, const URL& aURL ) +const Reference< XStatusListener >&, const URL& ) { - (void)xControl; - (void)aURL; - // implement if status is supported } void SAL_CALL ScriptProtocolHandler::removeStatusListener( -const Reference< XStatusListener >& xControl, const URL& aURL ) -{ - (void)xControl; - (void)aURL; -} +const Reference< XStatusListener >&, const URL& ) +{} bool ScriptProtocolHandler::getScriptInvocation() -- cgit