From 19b34c0039c6293f9b37aa70f8055aa2be28ba09 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 13 Apr 2016 11:30:11 +0200 Subject: loplugin:passstuffbyref in svtools Change-Id: Ie166eaef65e56fafe4e57a5559b587d7558d7aa4 --- svtools/source/uno/treecontrolpeer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svtools/source/uno/treecontrolpeer.cxx') diff --git a/svtools/source/uno/treecontrolpeer.cxx b/svtools/source/uno/treecontrolpeer.cxx index 24e4d375105d..84cc51660e9a 100644 --- a/svtools/source/uno/treecontrolpeer.cxx +++ b/svtools/source/uno/treecontrolpeer.cxx @@ -109,7 +109,7 @@ public: virtual ~UnoTreeListItem(); void InitViewData( SvTreeListBox*,SvTreeListEntry*,SvViewDataItem* ) override; void SetImage( const Image& rImage ); - OUString GetGraphicURL() const { return maGraphicURL;} + const OUString& GetGraphicURL() const { return maGraphicURL;} void SetGraphicURL( const OUString& rGraphicURL ); virtual void Paint(const Point& rPos, SvTreeListBox& rOutDev, vcl::RenderContext& rRenderContext, const SvViewDataEntry* pView, const SvTreeListEntry& rEntry) override; -- cgit