summaryrefslogtreecommitdiff
path: root/sc/source/ui/vba
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-02 11:22:38 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-15 08:33:29 +0200
commitb3dfb1e807eba91eed35a02d74fe8a917c41ee6f (patch)
tree821c7c364e8550fdba804a45c50524cc9ac83310 /sc/source/ui/vba
parent48fedbfb73fb3bb0abd9f5201d6d7ecc6e9ed6ef (diff)
loplugin:checkunusedparams in sc
Change-Id: Ib4572899caeb7bc2dceb2c188ceb306b8ffc9193 Reviewed-on: https://gerrit.libreoffice.org/40629 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/vba')
-rw-r--r--sc/source/ui/vba/vbaeventshelper.cxx6
-rw-r--r--sc/source/ui/vba/vbaeventshelper.hxx4
2 files changed, 4 insertions, 6 deletions
diff --git a/sc/source/ui/vba/vbaeventshelper.cxx b/sc/source/ui/vba/vbaeventshelper.cxx
index 888669d74d95..3be028a316f0 100644
--- a/sc/source/ui/vba/vbaeventshelper.cxx
+++ b/sc/source/ui/vba/vbaeventshelper.cxx
@@ -515,7 +515,7 @@ IMPL_LINK( ScVbaEventListener, processWindowResizeEvent, void*, p, void )
release();
}
-ScVbaEventsHelper::ScVbaEventsHelper( const uno::Sequence< uno::Any >& rArgs, const uno::Reference< uno::XComponentContext >& /*xContext*/ ) :
+ScVbaEventsHelper::ScVbaEventsHelper( const uno::Sequence< uno::Any >& rArgs ) :
VbaEventsHelperBase( rArgs ),
mbOpened( false )
{
@@ -905,10 +905,10 @@ uno::Any ScVbaEventsHelper::createWindow( const uno::Sequence< uno::Any >& rArgs
extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * SAL_CALL
ScVbaEventsHelper_get_implementation(
- css::uno::XComponentContext *context,
+ css::uno::XComponentContext * /*context*/,
css::uno::Sequence<css::uno::Any> const &arguments)
{
- return cppu::acquire(new ScVbaEventsHelper(arguments, context));
+ return cppu::acquire(new ScVbaEventsHelper(arguments));
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbaeventshelper.hxx b/sc/source/ui/vba/vbaeventshelper.hxx
index ce6eb35b8007..46ff27b29b61 100644
--- a/sc/source/ui/vba/vbaeventshelper.hxx
+++ b/sc/source/ui/vba/vbaeventshelper.hxx
@@ -30,9 +30,7 @@ class ScVbaEventListener;
class ScVbaEventsHelper : public VbaEventsHelperBase
{
public:
- ScVbaEventsHelper(
- const css::uno::Sequence< css::uno::Any >& rArgs,
- const css::uno::Reference< css::uno::XComponentContext >& rxContext );
+ ScVbaEventsHelper( const css::uno::Sequence< css::uno::Any >& rArgs );
virtual ~ScVbaEventsHelper() override;
virtual void SAL_CALL notifyEvent( const css::document::EventObject& rEvent ) override;