diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-08-18 12:28:31 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-08-18 18:19:09 +0200 |
commit | 4dbe4a9313d9844c10f71b29a77218d31bc6f3b3 (patch) | |
tree | caf0ca4ceb3cbbb2aaf1255cebbcb8b38d6d45c5 /include/framework | |
parent | 9e1aee666fa48b768c829bbc707f47a98250df1e (diff) |
loplugin:passstuffbyref
Change-Id: I4f01eb3842ef198f02af274f54afb2760c820a4b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120655
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/framework')
-rw-r--r-- | include/framework/dispatchhelper.hxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/framework/dispatchhelper.hxx b/include/framework/dispatchhelper.hxx index ca7e2b2ccf12..7c89a2d79aac 100644 --- a/include/framework/dispatchhelper.hxx +++ b/include/framework/dispatchhelper.hxx @@ -93,9 +93,10 @@ public: // not a public XDispatchHelper-method, need in sfx2/source/control/statcach.cxx for extensions /// @throws css::uno::RuntimeException - css::uno::Any executeDispatch(const css::uno::Reference<css::frame::XDispatch>& xDispatch, - const css::util::URL& aURL, bool SyncronFlag, - const css::uno::Sequence<css::beans::PropertyValue>& lArguments); + const css::uno::Any& + executeDispatch(const css::uno::Reference<css::frame::XDispatch>& xDispatch, + const css::util::URL& aURL, bool SyncronFlag, + const css::uno::Sequence<css::beans::PropertyValue>& lArguments); // XDispatchResultListener virtual void SAL_CALL dispatchFinished(const css::frame::DispatchResultEvent& aResult) override; |