diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-09-18 09:08:35 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-09-18 09:28:59 +0000 |
commit | c8204ba5b86d080aa5ac3ec71dc6aaea1384b9a0 (patch) | |
tree | c4ae951328f359fb4f6fdee62bb0f276a9034579 /sc/source/ui/docshell/documentlinkmgr.cxx | |
parent | c722e9e728ec6c9df0285f5dd2041aa58f66f686 (diff) |
boost->std
Change-Id: I7f3bb094f116103c1146a7d60e3af94c0b37d9ea
Reviewed-on: https://gerrit.libreoffice.org/18677
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/docshell/documentlinkmgr.cxx')
-rw-r--r-- | sc/source/ui/docshell/documentlinkmgr.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/docshell/documentlinkmgr.cxx b/sc/source/ui/docshell/documentlinkmgr.cxx index 75c2da638bd3..19a8f0953768 100644 --- a/sc/source/ui/docshell/documentlinkmgr.cxx +++ b/sc/source/ui/docshell/documentlinkmgr.cxx @@ -27,7 +27,7 @@ #include <vcl/layout.hxx> #include <boost/noncopyable.hpp> -#include <boost/scoped_ptr.hpp> +#include <memory> namespace sc { @@ -35,11 +35,11 @@ struct DocumentLinkManagerImpl : boost::noncopyable { ScDocument& mrDoc; SfxObjectShell* mpShell; - boost::scoped_ptr<DataStream> mpDataStream; - boost::scoped_ptr<sfx2::LinkManager> mpLinkManager; + std::unique_ptr<DataStream> mpDataStream; + std::unique_ptr<sfx2::LinkManager> mpLinkManager; DocumentLinkManagerImpl( ScDocument& rDoc, SfxObjectShell* pShell ) : - mrDoc(rDoc), mpShell(pShell), mpDataStream(NULL), mpLinkManager(NULL) {} + mrDoc(rDoc), mpShell(pShell), mpDataStream(nullptr), mpLinkManager(nullptr) {} ~DocumentLinkManagerImpl() { |