diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-06 13:27:25 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-19 07:11:46 +0100 |
commit | d3c7a7807695deee35e40ef6d77a7428682525d3 (patch) | |
tree | 7266b82cc08608a783066921a02570a60fe6236a /include/svx/AccessibleShape.hxx | |
parent | cc0be9f9616b732955ff21850fb69142ee46507e (diff) |
loplugin:useuniqueptr in AccessibleShape
Change-Id: I4c91ce6eb47f2802313fed22357e5c960cea50b2
Reviewed-on: https://gerrit.libreoffice.org/49931
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx/AccessibleShape.hxx')
-rw-r--r-- | include/svx/AccessibleShape.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/svx/AccessibleShape.hxx b/include/svx/AccessibleShape.hxx index 592a7ead9b32..71842073ffdf 100644 --- a/include/svx/AccessibleShape.hxx +++ b/include/svx/AccessibleShape.hxx @@ -48,6 +48,7 @@ #include <svx/AccessibleShapeTreeInfo.hxx> #include <svx/IAccessibleViewForwarderListener.hxx> #include <svx/svxdllapi.h> +#include <memory> namespace com { namespace sun { namespace star { namespace accessibility { class XAccessible; } @@ -373,7 +374,7 @@ public: protected: /// Children manager. May be empty if there are no children. - ChildrenManager* mpChildrenManager; + std::unique_ptr<ChildrenManager> mpChildrenManager; /// Reference to the actual shape. css::uno::Reference< @@ -389,7 +390,7 @@ protected: /** The accessible text engine. May be NULL if it can not be created. */ - AccessibleTextHelper* mpText; + std::unique_ptr<AccessibleTextHelper> mpText; /** This object can be used to modify the child list of our parent. */ |