summaryrefslogtreecommitdiff
path: root/include/svtools/embedhlp.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-17 14:36:31 +0200
committerNoel Grandin <noel@peralex.com>2015-11-18 08:35:34 +0200
commitf43db673558a1139fba783973c87de9b79033425 (patch)
tree961efab15b7a334f94f5fd69f1b72a16838cbae0 /include/svtools/embedhlp.hxx
parent66d2b72667792cb18b25805387824d636e2a455c (diff)
use unique_ptr for pImpl in svtools/
Change-Id: Ic82db5859464978ca58094e2b6f44e3c9ba30b4c
Diffstat (limited to 'include/svtools/embedhlp.hxx')
-rw-r--r--include/svtools/embedhlp.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/svtools/embedhlp.hxx b/include/svtools/embedhlp.hxx
index 7dad21d020c8..29ac2dcd011c 100644
--- a/include/svtools/embedhlp.hxx
+++ b/include/svtools/embedhlp.hxx
@@ -26,6 +26,7 @@
#include <vcl/graph.hxx>
#include <tools/mapunit.hxx>
#include <rtl/ustring.hxx>
+#include <memory>
namespace comphelper
{
@@ -45,7 +46,7 @@ struct EmbeddedObjectRef_Impl;
class SVT_DLLPUBLIC EmbeddedObjectRef
{
- EmbeddedObjectRef_Impl* mpImpl;
+ std::unique_ptr<EmbeddedObjectRef_Impl> mpImpl;
SVT_DLLPRIVATE SvStream* GetGraphicStream( bool bUpdate ) const;
SVT_DLLPRIVATE void GetReplacement( bool bUpdate );