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 --- include/sfx2/sidebar/Panel.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/sfx2/sidebar') diff --git a/include/sfx2/sidebar/Panel.hxx b/include/sfx2/sidebar/Panel.hxx index 485063f2152d..7ea94a49960a 100644 --- a/include/sfx2/sidebar/Panel.hxx +++ b/include/sfx2/sidebar/Panel.hxx @@ -69,7 +69,7 @@ public: { return mxPanelComponent; } - css::uno::Reference GetElementParentWindow(); + const css::uno::Reference& GetElementParentWindow(); css::uno::Reference GetElementWindow(); void SetExpanded(const bool bIsExpanded); bool IsExpanded() const { return mbIsExpanded; } -- cgit