diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-03-27 11:11:54 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-03-28 07:40:46 +0100 |
commit | 471fdea812f1ce9be349474bc3817bbb75186bba (patch) | |
tree | e61a242073818f828cba9adcf3871a0eb3b67708 /include/svx | |
parent | d337731d4f7017d51fab08f0edbac1effc9baf90 (diff) |
return unique_ptr from SdrPage::CreateObjectSpecificViewContact
Change-Id: I3297128efd44f4df86886d6f0349420d6ce18571
Reviewed-on: https://gerrit.libreoffice.org/69855
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx')
-rw-r--r-- | include/svx/svdpage.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/svdpage.hxx b/include/svx/svdpage.hxx index d78652d1f262..24747bc823a9 100644 --- a/include/svx/svdpage.hxx +++ b/include/svx/svdpage.hxx @@ -392,7 +392,7 @@ public: SdrModel& getSdrModelFromSdrPage() const { return mrSdrModelFromSdrPage; } protected: - sdr::contact::ViewContact* CreateObjectSpecificViewContact(); + std::unique_ptr<sdr::contact::ViewContact> CreateObjectSpecificViewContact(); public: const sdr::contact::ViewContact& GetViewContact() const; sdr::contact::ViewContact& GetViewContact(); |