summaryrefslogtreecommitdiff
path: root/embeddedobj/source/inc/commonembobj.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2021-03-19 14:44:16 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-03-20 09:30:32 +0100
commit3e12b2fb64350938a3efe3252e84f62aa608356e (patch)
treeed3d5d4693db50099cfc1b9eb09530c2d4a554d3 /embeddedobj/source/inc/commonembobj.hxx
parent8a6887717f4f667ff3621e98379e62e0d57a4a3a (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.hxx3
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;