From 4dbe4a9313d9844c10f71b29a77218d31bc6f3b3 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 18 Aug 2021 12:28:31 +0200 Subject: loplugin:passstuffbyref Change-Id: I4f01eb3842ef198f02af274f54afb2760c820a4b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120655 Tested-by: Jenkins Reviewed-by: Noel Grandin --- framework/source/services/dispatchhelper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework') diff --git a/framework/source/services/dispatchhelper.cxx b/framework/source/services/dispatchhelper.cxx index 30e424df94ff..e5defdff6210 100644 --- a/framework/source/services/dispatchhelper.cxx +++ b/framework/source/services/dispatchhelper.cxx @@ -119,7 +119,7 @@ css::uno::Any SAL_CALL DispatchHelper::executeDispatch( return executeDispatch(xDispatch, aURL, true, lArguments); } -css::uno::Any +const css::uno::Any& DispatchHelper::executeDispatch(const css::uno::Reference& xDispatch, const css::util::URL& aURL, bool SyncronFlag, const css::uno::Sequence& lArguments) -- cgit