[Libreoffice-commits] core.git: sw/source
Miklos Vajna
vmiklos at collabora.co.uk
Tue Sep 8 02:14:50 PDT 2015
sw/source/core/doc/docfmt.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 965d27280bed1832d6424f378aa89525ccbff1f6
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Tue Sep 8 08:59:44 2015 +0200
sw: use std::unique_ptr<> in docfmt
Change-Id: I270785363bdd8e2242b185a26fa335e51bc2b8ce
Reviewed-on: https://gerrit.libreoffice.org/18400
Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>
Tested-by: Jenkins <ci at libreoffice.org>
diff --git a/sw/source/core/doc/docfmt.cxx b/sw/source/core/doc/docfmt.cxx
index f71186a..dbf47c0 100644
--- a/sw/source/core/doc/docfmt.cxx
+++ b/sw/source/core/doc/docfmt.cxx
@@ -79,7 +79,7 @@
#include <docsh.hxx>
#include <swmodule.hxx>
#include <modcfg.hxx>
-#include <boost/scoped_ptr.hpp>
+#include <memory>
using namespace ::com::sun::star::i18n;
using namespace ::com::sun::star::lang;
@@ -296,7 +296,7 @@ void SwDoc::ResetAttrs( const SwPaM &rRg,
}
// #i96644#
- boost::scoped_ptr< SwDataChanged > xDataChanged;
+ std::unique_ptr< SwDataChanged > xDataChanged;
if ( bSendDataChangedEvents )
{
xDataChanged.reset( new SwDataChanged( *pPam ) );
@@ -1037,7 +1037,7 @@ static bool lcl_SetTextFormatColl( const SwNodePtr& rpNode, void* pArgs )
if ( bChangeOfListStyleAtParagraph )
{
- boost::scoped_ptr< SwRegHistory > pRegH;
+ std::unique_ptr< SwRegHistory > pRegH;
if ( pPara->pHistory )
{
pRegH.reset( new SwRegHistory( pTNd, *pTNd, pPara->pHistory ) );
More information about the Libreoffice-commits
mailing list