diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-07-02 22:30:49 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-07-02 22:30:49 +0200 |
commit | f6abc3f97e74df0c4ae05abf4075085a9b9c1cc4 (patch) | |
tree | 996a26c5406ec43bb51039d4790080b16cefba7a /scripting/source/protocolhandler/scripthandler.cxx | |
parent | 619c9b494a76b0fb8b0cf6c9b7622f17cf1d5b6c (diff) |
loplugin:casttovoid: scripting
Change-Id: I9f77eca5a80ad4e9d3cee8f7400a245f5fa78bbb
Diffstat (limited to 'scripting/source/protocolhandler/scripthandler.cxx')
-rw-r--r-- | scripting/source/protocolhandler/scripthandler.cxx | 17 |
1 files changed, 4 insertions, 13 deletions
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() |