summaryrefslogtreecommitdiff
path: root/include/svx/obj3d.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2018-07-07 09:29:38 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-07-07 12:42:37 +0200
commit363146254bd44ab82d657f2ca0293d03bd111280 (patch)
tree41e76c63ca1887e8171f9a4e15d7f138bf48bccc /include/svx/obj3d.hxx
parentd4b1f51f99fcb2a6d550f667df14e99983ab9d8c (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 'include/svx/obj3d.hxx')
-rw-r--r--include/svx/obj3d.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/svx/obj3d.hxx b/include/svx/obj3d.hxx
index c452197053bd..6d24ed73fb59 100644
--- a/include/svx/obj3d.hxx
+++ b/include/svx/obj3d.hxx
@@ -79,7 +79,7 @@ private:
friend class E3dDragMethod;
protected:
- virtual sdr::properties::BaseProperties* CreateObjectSpecificProperties() override;
+ virtual std::unique_ptr<sdr::properties::BaseProperties> CreateObjectSpecificProperties() override;
basegfx::B3DRange maLocalBoundVol; // surrounding volume of the object (from the geometry generation)
basegfx::B3DHomMatrix maTransformation; // local transformation
@@ -173,7 +173,7 @@ private:
friend class sdr::properties::E3dSphereProperties;
protected:
- virtual sdr::properties::BaseProperties* CreateObjectSpecificProperties() override;
+ virtual std::unique_ptr<sdr::properties::BaseProperties> CreateObjectSpecificProperties() override;
// material of the object
Color aMaterialAmbientColor;