sw/source/core/docnode/ndsect.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit c8f0b37528b69b77dbe8596915e34fd915e34b8d Author: Miklos Vajna <vmik...@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!" ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits