summaryrefslogtreecommitdiff
path: root/include/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-05 12:50:07 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-06 12:34:48 +0200
commit792f85dcc45951a05027d082ce5ac1aef103f453 (patch)
tree5dad71897eb83c40ad60d46d8599a90c3cb86aea /include/svx
parent1f969657a64abc14cb8d1a5428a4da519d7cf6d8 (diff)
introduce SdrObjectUniquePtr typedef
Change-Id: I00106a7be04d473e2ee60ef6165bebc4148f954b Reviewed-on: https://gerrit.libreoffice.org/61438 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx')
-rw-r--r--include/svx/svdobj.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/svx/svdobj.hxx b/include/svx/svdobj.hxx
index 76fc5e04f850..fabf904b2da0 100644
--- a/include/svx/svdobj.hxx
+++ b/include/svx/svdobj.hxx
@@ -1041,6 +1041,7 @@ struct SVX_DLLPUBLIC SdrObjectFreeOp
SdrObject::Free(obj);
}
};
+typedef std::unique_ptr< SdrObject, SdrObjectFreeOp > SdrObjectUniquePtr;
struct SdrObjCreatorParams
{