From 4763091bbecab8722a43d0ed73eafc0a1f596242 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 8 May 2017 14:17:56 +0200 Subject: loplugin:constantparam Change-Id: Ia9500b25602c14aadf49fe373682ae9d87a0a1a2 Reviewed-on: https://gerrit.libreoffice.org/37390 Tested-by: Jenkins Reviewed-by: Noel Grandin --- chart2/source/controller/main/CommandDispatch.cxx | 5 ++--- chart2/source/controller/main/CommandDispatch.hxx | 3 +-- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'chart2') 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( -- cgit