diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-13 15:37:46 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-14 09:21:40 +0200 |
commit | cc2f103744fc5e36a2e583442e41bc6b9d0d0b90 (patch) | |
tree | 447b110388cc02aa2b112375d92a92822a3b805a /sdext/source/presenter/PresenterToolBar.hxx | |
parent | baf34a9e44fbd39c3657cabd22d871bc804ab12d (diff) |
loplugin:passstuffbyref in sdext
Change-Id: I954510b953dab133bcf7b37cf598757b7d8e5fca
Diffstat (limited to 'sdext/source/presenter/PresenterToolBar.hxx')
-rw-r--r-- | sdext/source/presenter/PresenterToolBar.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sdext/source/presenter/PresenterToolBar.hxx b/sdext/source/presenter/PresenterToolBar.hxx index 3348a8d1b36e..f4201a1f6939 100644 --- a/sdext/source/presenter/PresenterToolBar.hxx +++ b/sdext/source/presenter/PresenterToolBar.hxx @@ -99,8 +99,8 @@ public: void RequestLayout(); css::geometry::RealSize2D GetMinimalSize(); - ::rtl::Reference<PresenterController> GetPresenterController() const; - css::uno::Reference<css::uno::XComponentContext> GetComponentContext() const; + const ::rtl::Reference<PresenterController>& GetPresenterController() const; + const css::uno::Reference<css::uno::XComponentContext>& GetComponentContext() const; // lang::XEventListener @@ -234,7 +234,7 @@ public: virtual void SAL_CALL disposing() override; - ::rtl::Reference<PresenterToolBar> GetPresenterToolBar() const; + const ::rtl::Reference<PresenterToolBar>& GetPresenterToolBar() const; // XPaintListener |