summaryrefslogtreecommitdiff
path: root/include/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-05 14:09:19 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-08 08:02:56 +0200
commit781544497a0913037bba160a4cf6b643e5ca1d1a (patch)
tree960cb52efca6ab4eba3ac30e6600bbd45247d25d /include/svx
parent69c9a077b3052fc012d2f23c00dfcc901c65583d (diff)
return by unique_ptr from E3dObject::GetBreakObj
Change-Id: Id983695650b13b2cb7881ce17a186e35fbb480ef Reviewed-on: https://gerrit.libreoffice.org/61441 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx')
-rw-r--r--include/svx/extrud3d.hxx2
-rw-r--r--include/svx/lathe3d.hxx2
-rw-r--r--include/svx/obj3d.hxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/include/svx/extrud3d.hxx b/include/svx/extrud3d.hxx
index d899b775c9dd..5e9d052552f5 100644
--- a/include/svx/extrud3d.hxx
+++ b/include/svx/extrud3d.hxx
@@ -102,7 +102,7 @@ public:
const basegfx::B2DPolyPolygon &GetExtrudePolygon() const { return maExtrudePolygon; }
virtual bool IsBreakObjPossible() override;
- virtual SdrAttrObj* GetBreakObj() override;
+ virtual std::unique_ptr<SdrAttrObj,SdrObjectFreeOp> GetBreakObj() override;
};
#endif // INCLUDED_SVX_EXTRUD3D_HXX
diff --git a/include/svx/lathe3d.hxx b/include/svx/lathe3d.hxx
index fe240c1b22ca..719c369c80b4 100644
--- a/include/svx/lathe3d.hxx
+++ b/include/svx/lathe3d.hxx
@@ -111,7 +111,7 @@ public:
// break up
virtual bool IsBreakObjPossible() override;
- virtual SdrAttrObj* GetBreakObj() override;
+ virtual std::unique_ptr<SdrAttrObj,SdrObjectFreeOp> GetBreakObj() override;
};
#endif // INCLUDED_SVX_LATHE3D_HXX
diff --git a/include/svx/obj3d.hxx b/include/svx/obj3d.hxx
index 6d24ed73fb59..fe9d1536245e 100644
--- a/include/svx/obj3d.hxx
+++ b/include/svx/obj3d.hxx
@@ -150,7 +150,7 @@ public:
// break up
virtual bool IsBreakObjPossible();
- virtual SdrAttrObj* GetBreakObj();
+ virtual std::unique_ptr<SdrAttrObj,SdrObjectFreeOp> GetBreakObj();
};
/*************************************************************************