diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-27 12:52:01 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-28 07:17:51 +0200 |
commit | b32ead5dd27c6f2b760e4196ebe0378fb8ec1a69 (patch) | |
tree | e647c37f069db3be229a4b89bc44fd21e64128fa /vcl/source/components | |
parent | 3956e4cb58033cae360beddf97136596ff3bb740 (diff) |
loplugin:checkunusedparams more part1
seems I got one of the checks wrong, and was missing a bunch of stuff
Change-Id: I2c662fc4e735f8d6cbe56c6f82906a60a580331b
Reviewed-on: https://gerrit.libreoffice.org/40481
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/components')
-rw-r--r-- | vcl/source/components/dtranscomp.cxx | 2 | ||||
-rw-r--r-- | vcl/source/components/factory.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/components/dtranscomp.cxx b/vcl/source/components/dtranscomp.cxx index 0946b0e34fa5..4419e269c982 100644 --- a/vcl/source/components/dtranscomp.cxx +++ b/vcl/source/components/dtranscomp.cxx @@ -231,7 +231,7 @@ OUString SAL_CALL Clipboard_getImplementationName() ); } -Reference< XSingleServiceFactory > SAL_CALL Clipboard_createFactory( const Reference< XMultiServiceFactory > & ) +Reference< XSingleServiceFactory > SAL_CALL Clipboard_createFactory() { return Reference< XSingleServiceFactory >( new ClipboardFactory() ); } diff --git a/vcl/source/components/factory.cxx b/vcl/source/components/factory.cxx index 4d7fa497ef35..27f701f721f9 100644 --- a/vcl/source/components/factory.cxx +++ b/vcl/source/components/factory.cxx @@ -59,7 +59,7 @@ extern "C" { } else if( vcl::Clipboard_getImplementationName().equalsAscii( pImplementationName ) ) { - xFactory = vcl::Clipboard_createFactory( xMgr ); + xFactory = vcl::Clipboard_createFactory(); } else if( vcl::DragSource_getImplementationName().equalsAscii( pImplementationName ) ) { |