diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-08 14:17:56 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-09 08:28:04 +0200 |
commit | 4763091bbecab8722a43d0ed73eafc0a1f596242 (patch) | |
tree | 095cad3f795be38a6fa64d4b4ad452619433972c /chart2 | |
parent | ac528503b4c172dd322841681b7aa9180a95721d (diff) |
loplugin:constantparam
Change-Id: Ia9500b25602c14aadf49fe373682ae9d87a0a1a2
Reviewed-on: https://gerrit.libreoffice.org/37390
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/main/CommandDispatch.cxx | 5 | ||||
-rw-r--r-- | chart2/source/controller/main/CommandDispatch.hxx | 3 |
2 files changed, 3 insertions, 5 deletions
diff --git a/chart2/source/controller/main/CommandDispatch.cxx b/chart2/source/controller/main/CommandDispatch.cxx index 42beadb65f8d..1907615f9bd1 100644 --- a/chart2/source/controller/main/CommandDispatch.cxx +++ b/chart2/source/controller/main/CommandDispatch.cxx @@ -119,8 +119,7 @@ void CommandDispatch::fireStatusEventForURL( const OUString & rURL, const uno::Any & rState, bool bEnabled, - const Reference< frame::XStatusListener > & xSingleListener, /* = 0 */ - const OUString & rFeatureDescriptor /* = OUString() */ ) + const Reference< frame::XStatusListener > & xSingleListener /* = 0 */) { // prepare event to send util::URL aURL; @@ -134,7 +133,7 @@ void CommandDispatch::fireStatusEventForURL( frame::FeatureStateEvent aEventToSend( static_cast< cppu::OWeakObject* >( this ), // Source aURL, // FeatureURL - rFeatureDescriptor, // FeatureDescriptor + OUString(), // FeatureDescriptor bEnabled, // IsEnabled false, // Requery rState // State diff --git a/chart2/source/controller/main/CommandDispatch.hxx b/chart2/source/controller/main/CommandDispatch.hxx index a9a76a1ab587..d6ed61aa1068 100644 --- a/chart2/source/controller/main/CommandDispatch.hxx +++ b/chart2/source/controller/main/CommandDispatch.hxx @@ -92,8 +92,7 @@ protected: const OUString & rURL, const css::uno::Any & rState, bool bEnabled, - const css::uno::Reference< css::frame::XStatusListener > & xSingleListener, - const OUString & rFeatureDescriptor = OUString() ); + const css::uno::Reference< css::frame::XStatusListener > & xSingleListener ); // ____ XDispatch ____ virtual void SAL_CALL dispatch( |