summaryrefslogtreecommitdiff
path: root/include/svx/svdomeas.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2018-07-01 22:04:20 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-07-03 08:18:19 +0200
commitdbdf5ef32e2fc041183b762d9a1561430c96470b (patch)
treeb2ce4ec15fdbb3712a7d81ab9b779acbfd44fe9f /include/svx/svdomeas.hxx
parent24218c21712bc900a6641bd1844878f07b173df7 (diff)
use std::unique_ptr for CreateObjectSpecificViewContact
Change-Id: I0fed54d345a43fe0bc21ebbe424e6fdc7eac9523 Reviewed-on: https://gerrit.libreoffice.org/56823 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx/svdomeas.hxx')
-rw-r--r--include/svx/svdomeas.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/svdomeas.hxx b/include/svx/svdomeas.hxx
index 0e30251dcab5..6e3e6afdf455 100644
--- a/include/svx/svdomeas.hxx
+++ b/include/svx/svdomeas.hxx
@@ -52,7 +52,7 @@ private:
friend class SdrMeasureField;
protected:
- virtual sdr::contact::ViewContact* CreateObjectSpecificViewContact() override;
+ virtual std::unique_ptr<sdr::contact::ViewContact> CreateObjectSpecificViewContact() override;
virtual sdr::properties::BaseProperties* CreateObjectSpecificProperties() override;
Point aPt1;