diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-13 11:30:11 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-13 13:27:53 +0200 |
commit | 19b34c0039c6293f9b37aa70f8055aa2be28ba09 (patch) | |
tree | 04463a78141cd94ee70cd463ba7687993410c276 /svtools/source/uno/treecontrolpeer.cxx | |
parent | fe8896bab01ccb595c993e54866a01f554b54f4f (diff) |
loplugin:passstuffbyref in svtools
Change-Id: Ie166eaef65e56fafe4e57a5559b587d7558d7aa4
Diffstat (limited to 'svtools/source/uno/treecontrolpeer.cxx')
-rw-r--r-- | svtools/source/uno/treecontrolpeer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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; |