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/contnr/fileview.cxx | |
parent | fe8896bab01ccb595c993e54866a01f554b54f4f (diff) |
loplugin:passstuffbyref in svtools
Change-Id: Ie166eaef65e56fafe4e57a5559b587d7558d7aa4
Diffstat (limited to 'svtools/source/contnr/fileview.cxx')
-rw-r--r-- | svtools/source/contnr/fileview.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/contnr/fileview.cxx b/svtools/source/contnr/fileview.cxx index 666c2a0044c4..90a604c463e1 100644 --- a/svtools/source/contnr/fileview.cxx +++ b/svtools/source/contnr/fileview.cxx @@ -200,7 +200,7 @@ public: void EnableAutoResize() { mbAutoResize = true; } void EnableDelete( bool bEnable ) { mbEnableDelete = bEnable; } - Reference< XCommandEnvironment > GetCommandEnvironment() const { return mxCmdEnv; } + const Reference< XCommandEnvironment >& GetCommandEnvironment() const { return mxCmdEnv; } DECL_LINK_TYPED(ResetQuickSearch_Impl, Timer *, void); |