From c83166ce7126b3c3c6aca8f6d2ab9cd9e16f5763 Mon Sep 17 00:00:00 2001 From: Noel Date: Mon, 25 Jan 2021 20:31:22 +0200 Subject: loplugin:passstuffbyref Change-Id: I330e0ab6c9955939dad313f9d472f93e39dbd313 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109924 Tested-by: Jenkins Reviewed-by: Noel Grandin --- uui/source/iahndl.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'uui') diff --git a/uui/source/iahndl.hxx b/uui/source/iahndl.hxx index 872bc13ac469..b1ffb347a23f 100644 --- a/uui/source/iahndl.hxx +++ b/uui/source/iahndl.hxx @@ -88,7 +88,7 @@ public: explicit UUIInteractionHelper( css::uno::Reference< css::uno::XComponentContext > const & rxContext); - css::uno::Reference GetParentWindow() const { return m_xWindowParam; } + const css::uno::Reference & GetParentWindow() const { return m_xWindowParam; } void SetParentWindow(const css::uno::Reference& rWindow) { m_xWindowParam = rWindow; } ~UUIInteractionHelper(); -- cgit v1.2.3