diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-05-13 16:04:53 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-05-13 20:51:49 +0200 |
commit | 4e869ad7367a74489938da5c7287cbf52c0a30e4 (patch) | |
tree | ff00136b4c6f93a2fd89eecc710ff8b01e841dd5 /include | |
parent | f23bc008aefe7d5ab2da8a283fe899798d15a2fa (diff) |
can pass by const& here
Change-Id: I1984e3efd8fbd8400e15e82042b9c75b748a46fb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115563
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/toolkit/unowrap.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/toolkit/unowrap.hxx b/include/vcl/toolkit/unowrap.hxx index 46f1e0845cc0..edaeb9dc9128 100644 --- a/include/vcl/toolkit/unowrap.hxx +++ b/include/vcl/toolkit/unowrap.hxx @@ -57,7 +57,7 @@ public: // Window virtual css::uno::Reference<css::awt::XWindowPeer> GetWindowInterface( vcl::Window* pWindow ) = 0; - virtual void SetWindowInterface( vcl::Window* pWindow, css::uno::Reference< css::awt::XWindowPeer > xIFace ) = 0; + virtual void SetWindowInterface( vcl::Window* pWindow, const css::uno::Reference< css::awt::XWindowPeer > & xIFace ) = 0; virtual VclPtr<vcl::Window> GetWindow(const css::uno::Reference<css::awt::XWindow>& rxWindow) = 0; // PopupMenu |