diff options
author | Noel Grandin <noel@peralex.com> | 2021-03-19 14:44:16 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-03-20 09:30:32 +0100 |
commit | 3e12b2fb64350938a3efe3252e84f62aa608356e (patch) | |
tree | ed3d5d4693db50099cfc1b9eb09530c2d4a554d3 /embeddedobj/source/inc/commonembobj.hxx | |
parent | 8a6887717f4f667ff3621e98379e62e0d57a4a3a (diff) |
use unique_ptr in OCommonEmbeddedObject
Change-Id: I2258838cbbe242dbe31500ecd6f29c315a335b71
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112743
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'embeddedobj/source/inc/commonembobj.hxx')
-rw-r--r-- | embeddedobj/source/inc/commonembobj.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/embeddedobj/source/inc/commonembobj.hxx b/embeddedobj/source/inc/commonembobj.hxx index 2294b0d7e915..e28b3654d1e7 100644 --- a/embeddedobj/source/inc/commonembobj.hxx +++ b/embeddedobj/source/inc/commonembobj.hxx @@ -35,6 +35,7 @@ #include <cppuhelper/weak.hxx> #include <rtl/ref.hxx> #include <map> +#include <memory> namespace com::sun::star { namespace embed { @@ -84,7 +85,7 @@ protected: rtl::Reference<DocumentHolder> m_xDocHolder; - ::cppu::OMultiTypeInterfaceContainerHelper* m_pInterfaceContainer; + std::unique_ptr<::cppu::OMultiTypeInterfaceContainerHelper> m_pInterfaceContainer; bool m_bReadOnly; |