From 8c15ccc2671d93b06c00730d03b441f3466984d4 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 14 Jul 2022 10:12:44 +0200 Subject: clang-tidy modernize-pass-by-value in sfx2 Change-Id: I7984f0b52809091511dc01005fdbfeafd521b4bf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137048 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sfx2/source/inc/statcach.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sfx2/source/inc/statcach.hxx') diff --git a/sfx2/source/inc/statcach.hxx b/sfx2/source/inc/statcach.hxx index 4247037e20c4..388e184f6653 100644 --- a/sfx2/source/inc/statcach.hxx +++ b/sfx2/source/inc/statcach.hxx @@ -45,8 +45,8 @@ friend class SfxStateCache; public: BindDispatch_Impl( - const css::uno::Reference< css::frame::XDispatch > & rDisp, - const css::util::URL& rURL, + css::uno::Reference< css::frame::XDispatch > xDisp, + css::util::URL aURL, SfxStateCache* pStateCache, const SfxSlot* pSlot ); virtual void SAL_CALL statusChanged( const css::frame::FeatureStateEvent& Event ) override; -- cgit