summaryrefslogtreecommitdiff
path: root/embeddedobj/source/inc/oleembobj.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-05-03 17:01:55 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-05-07 08:32:51 +0200
commit8f0167d0e005b2872bba966ab9d72f5cd0f5ad17 (patch)
tree62d50c647b65b5a7257e4a89fe0291cc3d2cc0d4 /embeddedobj/source/inc/oleembobj.hxx
parentd655a8d2455c75921eba7a4431fa3d71048e8129 (diff)
loplugin:useuniqueptr in OleEmbeddedObject
Change-Id: Ia455b86ec14320234935bce32c0bc33a88db036a Reviewed-on: https://gerrit.libreoffice.org/53875 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'embeddedobj/source/inc/oleembobj.hxx')
-rw-r--r--embeddedobj/source/inc/oleembobj.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/embeddedobj/source/inc/oleembobj.hxx b/embeddedobj/source/inc/oleembobj.hxx
index e944c6cfd842..59a3782fb7f4 100644
--- a/embeddedobj/source/inc/oleembobj.hxx
+++ b/embeddedobj/source/inc/oleembobj.hxx
@@ -41,6 +41,7 @@
#include <rtl/ref.hxx>
#include <osl/thread.h>
+#include <memory>
namespace cppu {
class OMultiTypeInterfaceContainerHelper;
@@ -120,7 +121,7 @@ class OleEmbeddedObject : public ::cppu::WeakImplHelper
OleComponent* m_pOleComponent;
- ::cppu::OMultiTypeInterfaceContainerHelper* m_pInterfaceContainer;
+ std::unique_ptr<::cppu::OMultiTypeInterfaceContainerHelper> m_pInterfaceContainer;
bool m_bReadOnly;