diff options
author | Noel <noel.grandin@collabora.co.uk> | 2021-03-01 14:35:54 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-03-01 19:30:37 +0100 |
commit | 3c699b2a480e0795a3a7085c2bcd1a9e8d649ed2 (patch) | |
tree | f8d64e0b8a57b7ad2a51528fe56277100a9b9ff5 /include | |
parent | 86303d2372b30bf02e28ea2b223f0e0aa7a161a3 (diff) |
loplugin:refcounting in svx
Change-Id: I87b1d0684e6e8921b222f76a13a36706c0eb8c87
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111750
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/ShapeTypeHandler.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/ShapeTypeHandler.hxx b/include/svx/ShapeTypeHandler.hxx index ccf61121876f..15992311dfc2 100644 --- a/include/svx/ShapeTypeHandler.hxx +++ b/include/svx/ShapeTypeHandler.hxx @@ -44,7 +44,7 @@ typedef int ShapeTypeId; /** Define the function type for creating accessible objects for given service names. */ -typedef AccessibleShape* (*tCreateFunction) +typedef rtl::Reference<AccessibleShape> (*tCreateFunction) (const AccessibleShapeInfo& rShapeInfo, const AccessibleShapeTreeInfo& rShapeTreeInfo, ShapeTypeId nId); |