[Libreoffice-commits] core.git: sw/source
Miklos Vajna
vmiklos at collabora.co.uk
Fri Aug 14 00:04:50 PDT 2015
sw/source/core/docnode/ndsect.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit c8f0b37528b69b77dbe8596915e34fd915e34b8d
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Fri Aug 14 09:03:39 2015 +0200
sw: use std::unique_ptr in docnode
Change-Id: I7c67958c7bfea71e8b79588b85d388a8e6838775
diff --git a/sw/source/core/docnode/ndsect.cxx b/sw/source/core/docnode/ndsect.cxx
index 194323d..22f4a5f 100644
--- a/sw/source/core/docnode/ndsect.cxx
+++ b/sw/source/core/docnode/ndsect.cxx
@@ -56,7 +56,7 @@
#include <comcore.hrc>
#include <viewsh.hxx>
#include <txtfrm.hxx>
-#include <boost/scoped_ptr.hpp>
+#include <memory>
#include <ndsect.hxx>
#include <tools/datetimeutils.hxx>
@@ -1229,7 +1229,7 @@ SwSectionNode* SwSectionNode::MakeCopy( SwDoc* pDoc, const SwNodeIndex& rIdx ) c
SwSectionFormat* pSectFormat = pDoc->MakeSectionFormat( 0 );
pSectFormat->CopyAttrs( *GetSection().GetFormat() );
- boost::scoped_ptr<SwTOXBase> pTOXBase;
+ std::unique_ptr<SwTOXBase> pTOXBase;
if (TOX_CONTENT_SECTION == GetSection().GetType())
{
OSL_ENSURE( GetSection().ISA( SwTOXBaseSection ), "no TOXBaseSection!" );
More information about the Libreoffice-commits
mailing list