summaryrefslogtreecommitdiff
path: root/sc/inc/documentlinkmgr.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-17 15:15:05 +0200
committerNoel Grandin <noel@peralex.com>2015-11-18 08:35:34 +0200
commitb442d5dd3c230a8a1dabaa7cc0333911ba456859 (patch)
tree1a6ec9b9f165b95703a29e81637b1bfa91c2ed79 /sc/inc/documentlinkmgr.hxx
parent6d47aa90fcdc72f79d904e3af36ea6de0134d764 (diff)
use unique_ptr for pImpl in sc/
Change-Id: I2516c83f8dfca1f1217be7dcb2a28f5dcd2f704e
Diffstat (limited to 'sc/inc/documentlinkmgr.hxx')
-rw-r--r--sc/inc/documentlinkmgr.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/inc/documentlinkmgr.hxx b/sc/inc/documentlinkmgr.hxx
index 0af5cf896c63..f5ba279423a1 100644
--- a/sc/inc/documentlinkmgr.hxx
+++ b/sc/inc/documentlinkmgr.hxx
@@ -12,6 +12,7 @@
#include <boost/noncopyable.hpp>
#include <rtl/ustring.hxx>
+#include <memory>
class ScDocument;
class SfxObjectShell;
@@ -30,7 +31,7 @@ struct DocumentLinkManagerImpl;
class DocumentLinkManager : boost::noncopyable
{
- DocumentLinkManagerImpl* mpImpl;
+ std::unique_ptr<DocumentLinkManagerImpl> mpImpl;
public:
DocumentLinkManager( ScDocument& rDoc, SfxObjectShell* pShell );