diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-25 14:08:33 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-05-28 16:33:45 +0200 |
commit | 3341435d7916c209c7613d594f78059ba112495b (patch) | |
tree | a1a38bc474ff0f659204d13db30ea2d14f958c3f /sd | |
parent | 20c6ab6b492d360faafeb857ef51bc0da5f645f6 (diff) |
loplugin:passstuffbyref
Change-Id: I785e96599bbda029adf4698d11d7f981750dec07
Reviewed-on: https://gerrit.libreoffice.org/54802
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
(cherry picked from commit ff3bdde2527123fc9e011ff0d93e958174632186)
Reviewed-on: https://gerrit.libreoffice.org/54914
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/dlg/navigatr.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/inc/navigatr.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/dlg/navigatr.cxx b/sd/source/ui/dlg/navigatr.cxx index 65e0d2aa8727..e7a40b65a2e9 100644 --- a/sd/source/ui/dlg/navigatr.cxx +++ b/sd/source/ui/dlg/navigatr.cxx @@ -215,7 +215,7 @@ NavigatorDragType SdNavigatorWin::GetNavigatorDragType() return eDT; } -VclPtr<SdPageObjsTLB> SdNavigatorWin::GetObjects() +VclPtr<SdPageObjsTLB> const & SdNavigatorWin::GetObjects() { return maTlbObjects; } diff --git a/sd/source/ui/inc/navigatr.hxx b/sd/source/ui/inc/navigatr.hxx index a9501c5236a4..5a01453bdf95 100644 --- a/sd/source/ui/inc/navigatr.hxx +++ b/sd/source/ui/inc/navigatr.hxx @@ -101,7 +101,7 @@ public: bool InsertFile(const OUString& rFileName); NavigatorDragType GetNavigatorDragType(); - VclPtr<SdPageObjsTLB> GetObjects(); + VclPtr<SdPageObjsTLB> const & GetObjects(); protected: virtual bool EventNotify(NotifyEvent& rNEvt) override; |