diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-13 15:47:02 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-13 20:08:35 +0100 |
commit | 78a6ce17f06fbe13b806fd563e85a4fe60d3bcfc (patch) | |
tree | 25e6d39e9f4d9bc3ffd703f752a35128f70de7b7 /include/toolkit/controls/unocontrolcontainer.hxx | |
parent | 3f7fbae1bc38d528080552a715af187285f47028 (diff) |
DELETEZ->std::unique_ptr in toolkit,unotools
Change-Id: I2263e233ae03575e53ab4e7894a7507423afd32e
Reviewed-on: https://gerrit.libreoffice.org/46397
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/toolkit/controls/unocontrolcontainer.hxx')
-rw-r--r-- | include/toolkit/controls/unocontrolcontainer.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/toolkit/controls/unocontrolcontainer.hxx b/include/toolkit/controls/unocontrolcontainer.hxx index ca2a5a54555b..816632d418db 100644 --- a/include/toolkit/controls/unocontrolcontainer.hxx +++ b/include/toolkit/controls/unocontrolcontainer.hxx @@ -32,6 +32,7 @@ #include <toolkit/helper/servicenames.hxx> #include <cppuhelper/implbase4.hxx> +#include <memory> class UnoControlHolderList; @@ -48,7 +49,7 @@ typedef ::cppu::AggImplInheritanceHelper4 < UnoControlBase class UnoControlContainer : public UnoControlContainer_Base { private: - UnoControlHolderList* mpControls; + std::unique_ptr<UnoControlHolderList> mpControls; css::uno::Sequence< css::uno::Reference< css::awt::XTabController > > maTabControllers; ContainerListenerMultiplexer maCListeners; |