[Libreoffice-commits] core.git: sw/source

Miklos Vajna vmiklos at collabora.co.uk
Wed Sep 9 00:07:27 PDT 2015


 sw/source/core/undo/rolbck.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 79bc956e7f44b762bfd6560e5a9c9812fa3dcf4d
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Wed Sep 9 09:06:18 2015 +0200

    sw: use std::unique_ptr<> in undo
    
    Change-Id: I327108c72d6f00575491de8ee1ebc470e6d18bb5

diff --git a/sw/source/core/undo/rolbck.cxx b/sw/source/core/undo/rolbck.cxx
index 294ab3e..a30bd42 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)


More information about the Libreoffice-commits mailing list