summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-09-09 09:06:18 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-09-09 09:06:40 +0200
commit79bc956e7f44b762bfd6560e5a9c9812fa3dcf4d (patch)
treeb53dadc27c8701216119749ccbed598cdb173912 /sw
parente4757b79e2938e48a57d129413df3f06bf638b4d (diff)
sw: use std::unique_ptr<> in undo
Change-Id: I327108c72d6f00575491de8ee1ebc470e6d18bb5
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/undo/rolbck.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/undo/rolbck.cxx b/sw/source/core/undo/rolbck.cxx
index 294ab3e65f13..a30bd42f14ec 100644
--- a/sw/source/core/undo/rolbck.cxx
+++ b/sw/source/core/undo/rolbck.cxx
@@ -56,7 +56,7 @@
#include <comcore.hrc>
#include <undo.hrc>
#include <bookmrk.hxx>
-#include <boost/scoped_ptr.hpp>
+#include <memory>
OUString SwHistoryHint::GetDescription() const
{
@@ -596,7 +596,7 @@ void SwHistoryBookmark::SetInDoc( SwDoc* pDoc, bool )
SwNodes& rNds = pDoc->GetNodes();
IDocumentMarkAccess* pMarkAccess = pDoc->getIDocumentMarkAccess();
- boost::scoped_ptr<SwPaM> pPam;
+ std::unique_ptr<SwPaM> pPam;
::sw::mark::IMark* pMark = NULL;
if(m_bSavePos)