diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-01-02 15:13:20 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-01-02 16:35:58 +0000 |
commit | d09888b835825085319d7b6855c3d5509539f42f (patch) | |
tree | 8aa1fd0e6af7d0d8fd00757ea8903936205af0b8 /include | |
parent | f61f34c900534b960f19425d1fe51608d6a4f12d (diff) |
use std::unique_ptr
Change-Id: I1c4f81e0ba0529b9e365c6ddb3d77a8a6a6d5741
Reviewed-on: https://gerrit.libreoffice.org/32649
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/svl/svdde.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/svl/svdde.hxx b/include/svl/svdde.hxx index 766430f488fc..e59aea050ce2 100644 --- a/include/svl/svdde.hxx +++ b/include/svl/svdde.hxx @@ -26,6 +26,7 @@ #include <sot/exchange.hxx> #include <tools/solar.h> #include <tools/link.hxx> +#include <memory> #include <vector> class DdeString; @@ -56,7 +57,7 @@ class SVL_DLLPUBLIC DdeData friend class DdeService; friend class DdeConnection; friend class DdeTransaction; - DdeDataImp* pImp; + std::unique_ptr<DdeDataImp> xImp; SVL_DLLPRIVATE void Lock(); |