diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-07-02 22:30:34 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-07-02 22:30:34 +0200 |
commit | ec0146214165c53a9b82d62b8c1408aaaaf465ca (patch) | |
tree | 46daa9d1fc9081ef10f65165c5ba86767368bd7b /sdext/source/presenter/PresenterProtocolHandler.cxx | |
parent | 278aae133e3252572bfae5e950c6ec9f8f254b29 (diff) |
loplugin:casttovoid: sdext
Change-Id: I557d59a4bfb9cab17a2cb00c3a80f85a6ef9671b
Diffstat (limited to 'sdext/source/presenter/PresenterProtocolHandler.cxx')
-rw-r--r-- | sdext/source/presenter/PresenterProtocolHandler.cxx | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/sdext/source/presenter/PresenterProtocolHandler.cxx b/sdext/source/presenter/PresenterProtocolHandler.cxx index 57e12a301002..f1aceb54f8d1 100644 --- a/sdext/source/presenter/PresenterProtocolHandler.cxx +++ b/sdext/source/presenter/PresenterProtocolHandler.cxx @@ -238,17 +238,16 @@ Sequence<OUString> PresenterProtocolHandler::getSupportedServiceNames_static() } Reference<XInterface> PresenterProtocolHandler::Create ( - const Reference<uno::XComponentContext>& rxContext) + SAL_UNUSED_PARAMETER const Reference<uno::XComponentContext>&) { - return Reference<XInterface>(static_cast<XWeak*>(new PresenterProtocolHandler(rxContext))); + return Reference<XInterface>(static_cast<XWeak*>(new PresenterProtocolHandler)); } //===== PresenterProtocolHandler ========================================================= -PresenterProtocolHandler::PresenterProtocolHandler (const Reference<XComponentContext>& rxContext) +PresenterProtocolHandler::PresenterProtocolHandler () : PresenterProtocolHandlerInterfaceBase(m_aMutex) { - (void)rxContext; } PresenterProtocolHandler::~PresenterProtocolHandler() @@ -301,11 +300,9 @@ PresenterProtocolHandler::getSupportedServiceNames() Reference<frame::XDispatch> SAL_CALL PresenterProtocolHandler::queryDispatch ( const css::util::URL& rURL, - const OUString& rsTargetFrameName, - sal_Int32 nSearchFlags) + const OUString&, + sal_Int32) { - (void)rsTargetFrameName; - (void)nSearchFlags; ThrowIfDisposed(); Reference<frame::XDispatch> xDispatch; @@ -319,9 +316,8 @@ Reference<frame::XDispatch> SAL_CALL PresenterProtocolHandler::queryDispatch ( } Sequence<Reference<frame::XDispatch> > SAL_CALL PresenterProtocolHandler::queryDispatches( - const Sequence<frame::DispatchDescriptor>& rDescriptors) + const Sequence<frame::DispatchDescriptor>&) { - (void)rDescriptors; ThrowIfDisposed(); return Sequence<Reference<frame::XDispatch> >(); } @@ -487,18 +483,15 @@ void SAL_CALL PresenterProtocolHandler::Dispatch::removeStatusListener ( //----- document::XEventListener ---------------------------------------------- void SAL_CALL PresenterProtocolHandler::Dispatch::notifyEvent ( - const css::document::EventObject& rEvent) + const css::document::EventObject&) { - (void)rEvent; - mpCommand->GetState(); } //----- lang::XEventListener -------------------------------------------------- -void SAL_CALL PresenterProtocolHandler::Dispatch::disposing (const css::lang::EventObject& rEvent) +void SAL_CALL PresenterProtocolHandler::Dispatch::disposing (const css::lang::EventObject&) { - (void)rEvent; mbIsListeningToWindowManager = false; } |