From 523036daaddf466eee46183bbec9a71d45c48a41 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 13 Apr 2016 11:29:05 +0200 Subject: loplugin:passstuffbyref in sfx2 Change-Id: I8c9d6e972f74ee04c8befda3b4cabb6e9b6b2054 --- sfx2/source/view/frame.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sfx2/source/view/frame.cxx') diff --git a/sfx2/source/view/frame.cxx b/sfx2/source/view/frame.cxx index 013bd14583cc..6850a4ef0afd 100644 --- a/sfx2/source/view/frame.cxx +++ b/sfx2/source/view/frame.cxx @@ -702,7 +702,7 @@ css::uno::Reference< css::frame::XController > SfxFrame::GetController() const return css::uno::Reference< css::frame::XController > (); } -css::uno::Reference< css::frame::XFrame > SfxFrame::GetFrameInterface() const +const css::uno::Reference< css::frame::XFrame >& SfxFrame::GetFrameInterface() const { return pImp->xFrame; } -- cgit