diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2018-07-07 09:29:38 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-07-07 12:42:37 +0200 |
commit | 363146254bd44ab82d657f2ca0293d03bd111280 (patch) | |
tree | 41e76c63ca1887e8171f9a4e15d7f138bf48bccc /svx/source/svdraw/svdogrp.cxx | |
parent | d4b1f51f99fcb2a6d550f667df14e99983ab9d8c (diff) |
use std::unique_ptr fo CreateObjectSpecificProperties
Change-Id: Ica82eca48719f12535757c81e95d788fe0aaa48e
Reviewed-on: https://gerrit.libreoffice.org/57110
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/svdraw/svdogrp.cxx')
-rw-r--r-- | svx/source/svdraw/svdogrp.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/svdraw/svdogrp.cxx b/svx/source/svdraw/svdogrp.cxx index c66ee4f1bff3..e0f85deaad14 100644 --- a/svx/source/svdraw/svdogrp.cxx +++ b/svx/source/svdraw/svdogrp.cxx @@ -52,9 +52,9 @@ #include <o3tl/make_unique.hxx> // BaseProperties section -sdr::properties::BaseProperties* SdrObjGroup::CreateObjectSpecificProperties() +std::unique_ptr<sdr::properties::BaseProperties> SdrObjGroup::CreateObjectSpecificProperties() { - return new sdr::properties::GroupProperties(*this); + return o3tl::make_unique<sdr::properties::GroupProperties>(*this); } // DrawContact section |